This is an automated email from the ASF dual-hosted git repository.
ifesdjeen pushed a commit to branch cep-15-accord
in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/cep-15-accord by this push:
new 559732ea6b Fix ForceSnapshotTest
559732ea6b is described below
commit 559732ea6bd3f6a96891984065dcf1ab754a3fab
Author: Alex Petrov <[email protected]>
AuthorDate: Fri Jan 17 20:09:48 2025 +0100
Fix ForceSnapshotTest
Patch by Alex Petrov; reviewed by David Capwell for CASSANDRA-20223.
---
.../org/apache/cassandra/distributed/test/log/ForceSnapshotTest.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/test/distributed/org/apache/cassandra/distributed/test/log/ForceSnapshotTest.java
b/test/distributed/org/apache/cassandra/distributed/test/log/ForceSnapshotTest.java
index 9f5cf1e307..3eb1958535 100644
---
a/test/distributed/org/apache/cassandra/distributed/test/log/ForceSnapshotTest.java
+++
b/test/distributed/org/apache/cassandra/distributed/test/log/ForceSnapshotTest.java
@@ -28,6 +28,7 @@ import org.junit.Test;
import org.apache.cassandra.db.Keyspace;
import org.apache.cassandra.distributed.Cluster;
import org.apache.cassandra.distributed.api.ConsistencyLevel;
+import org.apache.cassandra.distributed.shared.ClusterUtils;
import org.apache.cassandra.distributed.test.TestBaseImpl;
import org.apache.cassandra.locator.InetAddressAndPort;
import org.apache.cassandra.tcm.ClusterMetadata;
@@ -147,6 +148,7 @@ public class ForceSnapshotTest extends TestBaseImpl
throw new RuntimeException(e);
}
});
+ ClusterUtils.waitForCMSToQuiesce(cluster, 1);
cluster.forEach(() -> assertEquals(10,
Keyspace.open(KEYSPACE).getColumnFamilyStores().size()));
// make sure we execute more transformations;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]