Wait for cluster to become quiescent between REST tests#24148
Wait for cluster to become quiescent between REST tests#24148abeyad merged 2 commits intoelastic:masterfrom
Conversation
processing before moving to the next test
|
hey @abeyad could you clarify why this is needed? I guess there were build failures around this? I am particularly interested in whether this should have been there forever or some recent change required this new check between tests. Thanks! |
|
hey @javanna, this was the result of a test failure that had to do with the fact that one of the "wait for active shard" tests had a very short timeout to process a cluster state event (because we expect it to fail). The problem is, it couldn't even get to the timeout phase because there was a cluster state update that failed to be processed and was potentially interfering with all subsequent tests. So the idea here is to make sure all cluster state updates have been processed in a test REST test run before moving on to the next test. Does that help clarify? |
|
thanks for explaining @abeyad |
|
thanks for the review @rjernst |
[TEST] ensures REST tests wait for cluster state updates to finish processing before moving to the next test
[TEST] ensures REST tests wait for cluster state updates to finish processing before moving to the next test
[TEST] ensures REST tests wait for cluster state updates to finish processing before moving to the next test
* master: Wait for cluster to become quiescent between REST tests (elastic#24148) Plugins: Remove leniency for missing plugins dir (elastic#24173) Changing some grammar in docs (elastic#24164)
[TEST] ensures REST tests wait for cluster state updates to finish
processing before moving to the next test