-
Notifications
You must be signed in to change notification settings - Fork 513
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
Race condition found in Horizon Ingestion filtering Integration tests #4987
Comments
Here is what I believe is happening: The race condition occurs because the In the While the Wait() and Done() methods of the WaitGroup are thread-safe, the Add() method is not. The reason this issue hasn't been seen earlier is that Because the write to the WaitGroup happens only once at the very start of the ingestion system and the |
@urvisavla , @aditya1702 , based on the investigation here, sounds like it boils down to removing the shutdown calls on that new test? |
@urvisavla Does adding test.WaitForHorizon() fix this? Since we will wait for it before shutting down the test? Also I dont understand why this test is different than the other ones already present - |
What did you see?
Horizon integrations tests are failing due to race condition found in Ingestion filtering tests
Here is the error logged by Horizon CI while running TestIngestionFilteringAlwaysDefaultingToTrue/ingestion_filtering_flag_set_to_false.
The text was updated successfully, but these errors were encountered: