Github user ptnapoleon commented on a diff in the pull request:
https://github.com/apache/cassandra-dtest/pull/9#discussion_r149296242
--- Diff: cql_tests.py ---
@@ -698,6 +719,54 @@ def many_columns_test(self):
",".join(map(lambda i: "c_{}".format(i), range(width)))
+
" FROM very_wide_table", [[i for i in range(width)]])
+ @since("3.11", max_version="3.X")
+ def drop_compact_storage_flag_test(self):
+ """
+ Test for CASSANDRA-10857, verifying the schema change
+ distribution across the other nodes.
+
+ """
+
+ cluster = self.cluster
+
+ cluster.populate(3).start()
+ node1 = cluster.nodelist()[0]
+ node2 = cluster.nodelist()[1]
+ node3 = cluster.nodelist()[2]
+ time.sleep(0.2)
+
+ session1 = self.patient_cql_connection(node1)
+ session2 = self.patient_cql_connection(node2)
+ session3 = self.patient_cql_connection(node3)
+ self.create_ks(session1, 'ks', 3)
+ sessions = [session1, session2, session3]
+
+ for session in sessions:
+ session.set_keyspace('ks')
+
+ session1.execute("""
+ CREATE TABLE test_drop_compact_storage (k int PRIMARY KEY, s1
int) WITH COMPACT STORAGE;
+ """)
+ time.sleep(1)
--- End diff --
No need for this sleep.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]