Fixed flaky test WriteAheadLogManagerSelfTest.testNoRaceAutoArchiveAndDeactivation
@@ -297,6 +297,8 @@ public class WriteAheadLogManagerSelfTest extends GridCommonAbstractTest {
* @return Timeout object.
*/
@Nullable private GridTimeoutObject timeoutRollover(IgniteEx n) {
+ synchronized (getFieldValue(walMgr(n), "timeoutRolloverMux")) {
return getFieldValue(walMgr(n), "timeoutRollover");
}
}
+}
