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: resolveTestAPI/Error/DuringInjection flake#19407

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
DanielleMaywood merged 1 commit intomainfromdanielle/flake/during-injection
Aug 19, 2025

Conversation

DanielleMaywood
Copy link
Contributor

Comment on lines -2099 to -2100
coderBin,err:=os.Executable()
require.NoError(t,err)
Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

It looks like this might sometimes be a symlink which we aren't resolving which causes a problem in the tests on nightly gauntlet. Instead of resolving this symlink, I've just removed this and replaced the mock expectation withgomock.Any() as we don't really care about this for this test.

Comment on lines +2157 to +2158
err=api.RefreshContainers(ctx)
require.NoError(t,err)
Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

drive by fix: whilst trying to recreate this flake, i got this to fail because the clock would skip a turn for some reason, so instead we just invokeRefreshContainers directly.

mafredri reacted with thumbs up emoji
@DanielleMaywoodDanielleMaywood marked this pull request as ready for reviewAugust 19, 2025 09:42
@DanielleMaywoodDanielleMaywood merged commite879526 intomainAug 19, 2025
30 checks passed
@DanielleMaywoodDanielleMaywood deleted the danielle/flake/during-injection branchAugust 19, 2025 11:23
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsAug 19, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@mafredrimafredrimafredri approved these changes

@johnstcnjohnstcnjohnstcn approved these changes

Assignees

@DanielleMaywoodDanielleMaywood

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

flake: TestAPI/Error/DuringInjection
3 participants
@DanielleMaywood@mafredri@johnstcn

[8]ページ先頭

©2009-2025 Movatter.jp