This is an automated email from the ASF dual-hosted git repository.
jmckenzie 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 1a4dccd Fix AlterTest.testCreateAlterNetworkTopologyWithDefaults
1a4dccd is described below
commit 1a4dccd3b9f9bfefbccbbe383982306d3aeea1d1
Author: Josh McKenzie <[email protected]>
AuthorDate: Tue Mar 29 12:30:05 2022 -0400
Fix AlterTest.testCreateAlterNetworkTopologyWithDefaults
Patch by Josh McKenzie; reviewed by Brandon Williams for CASSANDRA-17496
---
.../unit/org/apache/cassandra/cql3/validation/operations/AlterTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/test/unit/org/apache/cassandra/cql3/validation/operations/AlterTest.java
b/test/unit/org/apache/cassandra/cql3/validation/operations/AlterTest.java
index 2b8fc0a..acabdea 100644
--- a/test/unit/org/apache/cassandra/cql3/validation/operations/AlterTest.java
+++ b/test/unit/org/apache/cassandra/cql3/validation/operations/AlterTest.java
@@ -279,7 +279,7 @@ public class AlterTest extends CQLTester
assertRowsIgnoringOrderAndExtra(execute("SELECT keyspace_name,
durable_writes, replication FROM system_schema.keyspaces"),
row(KEYSPACE, true, map("class",
"org.apache.cassandra.locator.SimpleStrategy", "replication_factor", "1")),
row(KEYSPACE_PER_TEST, true,
map("class", "org.apache.cassandra.locator.SimpleStrategy",
"replication_factor", "1")),
- row(ks1, true, map("class",
"org.apache.cassandra.locator.NetworkTopologyStrategy", DATA_CENTER, "0",
DATA_CENTER_REMOTE, "3")));
+ row(ks1, true, map("class",
"org.apache.cassandra.locator.NetworkTopologyStrategy", DATA_CENTER_REMOTE,
"3")));
schemaChange("ALTER KEYSPACE " + ks1 + " WITH replication = { 'class'
: 'NetworkTopologyStrategy', '" + DATA_CENTER_REMOTE + "': 3 }");
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]