-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Fixing DatabaseNodeServiceIT testNonGzippedDatabase and testGzippedDatabase race condition #115463
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
Fixing DatabaseNodeServiceIT testNonGzippedDatabase and testGzippedDatabase race condition #115463
Conversation
…tabase race condition
Pinging @elastic/es-data-management (Team:Data Management) |
What do you think about this version of things, @masseyke? It seems to pass reliably on my machine, but doesn't require a change to the source (it only fusses with the test code). |
It makes me slightly less uncomfortable than the previous version. So I saw we go for it. I've run it a bunch of times without any problems so far. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅
💔 Backport failed
You can use sqren/backport to manually backport by running |
…tabase race condition (elastic#115463) Co-authored-by: Joe Gallo <joegallo@gmail.com>
…tabase race condition (elastic#115463) Co-authored-by: Joe Gallo <joegallo@gmail.com>
…tabase race condition (elastic#115463) Co-authored-by: Joe Gallo <joegallo@gmail.com>
Every once in a while, DatabaseNodeService::checkDatabases gets called at just the wrong time and deletes the database we are using in these tests. This PR adds an assertBusy to retry when this happens.
Closes #113752
Closes #113821