This is an automated email from the ASF dual-hosted git repository.
apolovtsev pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git
The following commit(s) were added to refs/heads/main by this push:
new 0151462aa58 IGNITE-27185 ItMetastorageRaftSnapshotCompatibilityTest is
broken (#7341)
0151462aa58 is described below
commit 0151462aa583047186c4f370815f9c37c1c9f2e0
Author: Phillippko <[email protected]>
AuthorDate: Mon Jan 12 16:43:47 2026 +0700
IGNITE-27185 ItMetastorageRaftSnapshotCompatibilityTest is broken (#7341)
---
.../ignite/internal/ItMetastorageRaftSnapshotCompatibilityTest.java | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git
a/modules/compatibility-tests/src/integrationTest/java/org/apache/ignite/internal/ItMetastorageRaftSnapshotCompatibilityTest.java
b/modules/compatibility-tests/src/integrationTest/java/org/apache/ignite/internal/ItMetastorageRaftSnapshotCompatibilityTest.java
index 6c397bcbdff..a23a1137c08 100644
---
a/modules/compatibility-tests/src/integrationTest/java/org/apache/ignite/internal/ItMetastorageRaftSnapshotCompatibilityTest.java
+++
b/modules/compatibility-tests/src/integrationTest/java/org/apache/ignite/internal/ItMetastorageRaftSnapshotCompatibilityTest.java
@@ -23,7 +23,6 @@ import static
org.apache.ignite.internal.CompatibilityTestCommon.createDefaultTa
import static org.apache.ignite.internal.TestWrappers.unwrapIgniteImpl;
import static org.apache.ignite.internal.jobs.DeploymentUtils.runJob;
import static org.awaitility.Awaitility.await;
-import static org.hamcrest.Matchers.is;
import io.micronaut.test.extensions.junit5.annotation.MicronautTest;
import org.apache.ignite.Ignite;
@@ -32,7 +31,6 @@ import
org.apache.ignite.internal.compute.TruncateRaftLogCommand;
import org.apache.ignite.internal.jobs.DeploymentUtils;
import org.apache.ignite.internal.metastorage.MetaStorageManager;
import org.apache.ignite.internal.metastorage.server.raft.MetastorageGroupId;
-import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedClass;
import org.junit.jupiter.params.provider.MethodSource;
@@ -63,7 +61,6 @@ public class ItMetastorageRaftSnapshotCompatibilityTest
extends CompatibilityTes
}
@Test
- @Disabled("https://issues.apache.org/jira/browse/IGNITE-27185")
void testMetastorageRaftSnapshotCompatibility() throws
InterruptedException {
cluster.stop();
cluster.startEmbedded(2);
@@ -76,7 +73,7 @@ public class ItMetastorageRaftSnapshotCompatibilityTest
extends CompatibilityTes
MetaStorageManager oldNodeMetastorage =
unwrapIgniteImpl(cluster.node(0)).metaStorageManager();
// Assert that new node got all log entries from old one.
- await().until(oldNodeMetastorage::appliedRevision,
is(newNodeMetastorage.appliedRevision()));
+ await().until(() -> oldNodeMetastorage.appliedRevision() ==
newNodeMetastorage.appliedRevision());
}
private void checkMetastorage() {