This is an automated email from the ASF dual-hosted git repository.
brandonwilliams pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-dtest.git
The following commit(s) were added to refs/heads/trunk by this push:
new ad99d5c3 Remove USE in repair_test
ad99d5c3 is described below
commit ad99d5c3cc24261a970cb58a8002942f8fcd9700
Author: Brandon Williams <[email protected]>
AuthorDate: Tue Apr 5 10:26:29 2022 -0500
Remove USE in repair_test
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17349
---
repair_tests/repair_test.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/repair_tests/repair_test.py b/repair_tests/repair_test.py
index af04e140..c40ce10b 100644
--- a/repair_tests/repair_test.py
+++ b/repair_tests/repair_test.py
@@ -757,11 +757,10 @@ class TestRepair(BaseRepairTest):
node1, node2, node3, node4 = cluster.nodelist()
session = self.patient_cql_connection(node1)
session.execute("CREATE KEYSPACE ks WITH replication = {'class':
'NetworkTopologyStrategy', 'dc1': 2, 'dc2': 1, 'dc3':1}")
- session.execute("USE ks")
if cluster.version() < '4.0':
- create_cf(session, 'cf', read_repair=0.0, columns={'c1': 'text',
'c2': 'text'})
+ create_cf(session, 'ks.cf', read_repair=0.0, columns={'c1':
'text', 'c2': 'text'})
else:
- create_cf(session, 'cf', columns={'c1': 'text', 'c2': 'text'})
+ create_cf(session, 'ks.cf', columns={'c1': 'text', 'c2': 'text'})
# Insert 1000 keys, kill node 2, insert 1 key, restart node 2, insert
1000 more keys
logger.debug("Inserting data...")
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]