You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by na...@apache.org on 2022/03/08 13:50:30 UTC
[ignite] branch master updated: IGNITE-16663 Fixed flaky test WriteAheadLogManagerSelfTest.testNoRaceAutoArchiveAndDeactivation (#9872)
This is an automated email from the ASF dual-hosted git repository.
namelchev pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git
The following commit(s) were added to refs/heads/master by this push:
new 55e9290 IGNITE-16663 Fixed flaky test WriteAheadLogManagerSelfTest.testNoRaceAutoArchiveAndDeactivation (#9872)
55e9290 is described below
commit 55e92904769077bdafb0bf3fed863dcf9525d617
Author: Nikita Amelchev <ns...@gmail.com>
AuthorDate: Tue Mar 8 16:49:40 2022 +0300
IGNITE-16663 Fixed flaky test WriteAheadLogManagerSelfTest.testNoRaceAutoArchiveAndDeactivation (#9872)
---
.../cache/persistence/db/wal/WriteAheadLogManagerSelfTest.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/WriteAheadLogManagerSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/WriteAheadLogManagerSelfTest.java
index cff984a..d9a9e49 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/WriteAheadLogManagerSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/WriteAheadLogManagerSelfTest.java
@@ -297,6 +297,8 @@ public class WriteAheadLogManagerSelfTest extends GridCommonAbstractTest {
* @return Timeout object.
*/
@Nullable private GridTimeoutObject timeoutRollover(IgniteEx n) {
- return getFieldValue(walMgr(n), "timeoutRollover");
+ synchronized (getFieldValue(walMgr(n), "timeoutRolloverMux")) {
+ return getFieldValue(walMgr(n), "timeoutRollover");
+ }
}
}