You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ed...@apache.org on 2021/03/11 19:35:09 UTC
[cassandra] branch trunk updated: Ninja-fix: CASSANDRA-15897 broke
one of the CompactStorageUpgrade tests; GOSSIP required
This is an automated email from the ASF dual-hosted git repository.
edimitrova pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/trunk by this push:
new 07babf3 Ninja-fix: CASSANDRA-15897 broke one of the CompactStorageUpgrade tests; GOSSIP required
07babf3 is described below
commit 07babf3cb10bc11efad48cc7865c7425d7c27ce4
Author: Ekaterina Dimitrova <ek...@datastax.com>
AuthorDate: Thu Mar 11 12:12:12 2021 -0500
Ninja-fix: CASSANDRA-15897 broke one of the CompactStorageUpgrade tests; GOSSIP required
---
.../cassandra/distributed/upgrade/CompactStorageUpgradeTest.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/test/distributed/org/apache/cassandra/distributed/upgrade/CompactStorageUpgradeTest.java b/test/distributed/org/apache/cassandra/distributed/upgrade/CompactStorageUpgradeTest.java
index 0e28653..7949033 100644
--- a/test/distributed/org/apache/cassandra/distributed/upgrade/CompactStorageUpgradeTest.java
+++ b/test/distributed/org/apache/cassandra/distributed/upgrade/CompactStorageUpgradeTest.java
@@ -24,7 +24,8 @@ import org.junit.Assert;
import org.junit.Test;
import org.apache.cassandra.distributed.api.ConsistencyLevel;
-import org.apache.cassandra.distributed.api.Feature;
+import static org.apache.cassandra.distributed.api.Feature.GOSSIP;
+import static org.apache.cassandra.distributed.api.Feature.NETWORK;
import org.apache.cassandra.distributed.shared.Versions;
import static org.apache.cassandra.distributed.shared.AssertUtils.*;
@@ -145,6 +146,7 @@ public class CompactStorageUpgradeTest extends UpgradeTestBase
.nodes(2)
.nodesToUpgrade(1, 2)
.upgrade(Versions.Major.v30, Versions.Major.v4)
+ .withConfig(config -> config.with(GOSSIP, NETWORK))
.setup((cluster) -> {
cluster.schemaChange("CREATE TABLE " + KEYSPACE + ".tbl (pk int, ck int, PRIMARY KEY (pk, ck)) WITH COMPACT STORAGE");
cluster.coordinator(1).execute("INSERT INTO " + KEYSPACE + ".tbl (pk, ck) VALUES (1,1)", ConsistencyLevel.ALL);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org