You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[TEST] Work around race condition when starting clusters in parallel (#118145)
With #117820 we are starting clusters in parallel in CCS related tests.
There is a race condition when calling RandomizedTest#isNightly, which
is called as part of `InternalTestCluster#beforeTest`.
See randomizedtesting/randomizedtesting#311.
Until this is fixed upstream, we can simply call isNightly before
forking, which is going to trigger the lazy initialization of the inner
map that causes the race. From then on, all threads will have a
consistent view of it.
Closes#118124
0 commit comments