Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: fix flakingTest_sshConfigExecEscape#14233

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

ethanndickson
Copy link
Member

@ethanndicksonethanndickson commentedAug 12, 2024
edited
Loading

Fixes#13962.

This test flakes when the subtests are run in parallel (~1/250). Since we're not testing any concurrent code, and the test isn't incorrect in any obvious way, we'll fix the flake by running them consecutively instead.

Attempted fixes:

  • Replacingos.WriteFile with an atomic variant fromGoogle'srenameio.
  • Moving theTempDir calls to the outer test, so that they get cleaned up at the end, instead of at the end of each subtest.

A real fix is left to the reader.

@ethanndicksonGraphite App
Copy link
MemberAuthor

This stack of pull requests is managed by Graphite.Learn more about stacking.

Join@ethanndickson and the rest of your teammates onGraphiteGraphite

@ethanndicksonethanndickson changed the titlefix: flakingTest_sshConfigExecEscapefix: fix flakingTest_sshConfigExecEscapeAug 12, 2024
@ethanndicksonethanndickson marked this pull request as ready for reviewAugust 12, 2024 03:01
@ethanndicksonethanndickson merged commit73402fc intomainAug 12, 2024
38 checks passed
@ethanndicksonethanndickson deleted the 08-12-fix_flaking_test_sshconfigexecescape_ branchAugust 12, 2024 08:56
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsAug 12, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@mafredrimafredrimafredri approved these changes

Assignees

@ethanndicksonethanndickson

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

flake: Test_sshConfigExecEscape
2 participants
@ethanndickson@mafredri

[8]ページ先頭

©2009-2025 Movatter.jp