Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Flaky unit test] Fix TestEndpointResolver #6461

Merged

Conversation

antoninbas
Copy link
Contributor

Wait for informers to have synced before creating new runtime objects, to avoid the race condition between List and Watch with the fake clientset.

Fixes #6460

Wait for informers to have synced before creating new runtime objects,
to avoid the race condition between List and Watch with the fake
clientset.

Fixes antrea-io#6460

Signed-off-by: Antonin Bas <antonin.bas@broadcom.com>
@antoninbas antoninbas added area/test Issues or PRs related to unit and integration tests. kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. labels Jun 18, 2024
@antoninbas antoninbas requested a review from tnqn June 18, 2024 21:53
Copy link
Member

@tnqn tnqn left a comment

Choose a reason for hiding this comment

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

LGTM

@antoninbas
Copy link
Contributor Author

/skip-all

@antoninbas antoninbas merged commit c1b514f into antrea-io:main Jun 19, 2024
49 of 55 checks passed
@antoninbas antoninbas deleted the fix-flaky-TestEndpointResolver branch June 19, 2024 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/test Issues or PRs related to unit and integration tests. kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Flaky unit test] TestEndpointResolver
2 participants