Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Duplicate
-
None
-
Normal
Description
example failure:
Error Message Lists differ: ["CREATE KEYSPACE test WITH re... != ["CREATE KEYSPACE test WITH re... First differing element 11: "AND compression = {'chunk_length_in_kb': '64', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor'}" "AND compression = {'chunk_length_in_kb': '64', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor', 'min_compress_ratio': '1.1'}" ["CREATE KEYSPACE test WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '1'} AND durable_writes = true;", 'CREATE TABLE test.test (', 'id int,', 'col int,', 'val text,', 'PRIMARY KEY (id, col)', ') WITH CLUSTERING ORDER BY (col ASC)', 'AND bloom_filter_fp_chance = 0.01', "AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'}", "AND comment = ''", "AND compaction = {'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32', 'min_threshold': '4'}", - "AND compression = {'chunk_length_in_kb': '64', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor'}", + "AND compression = {'chunk_length_in_kb': '64', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor', 'min_compress_ratio': '1.1'}", ? +++++++++++++++++++++++++++++ 'AND crc_check_chance = 1.0', 'AND dclocal_read_repair_chance = 0.1', 'AND default_time_to_live = 0', 'AND gc_grace_seconds = 864000', 'AND max_index_interval = 2048', 'AND memtable_flush_period_in_ms = 0', 'AND min_index_interval = 128', 'AND read_repair_chance = 0.0', "AND speculative_retry = '99PERCENTILE';", 'CREATE INDEX test_val_idx ON test.test (val);', 'CREATE INDEX test_col_idx ON test.test (col);', 'CREATE TABLE test.users (', 'userid text PRIMARY KEY,', 'age int,', 'firstname text,', 'lastname text', ') WITH bloom_filter_fp_chance = 0.01', "AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'}", "AND comment = ''", "AND compaction = {'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32', 'min_threshold': '4'}", - "AND compression = {'chunk_length_in_kb': '64', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor'}", + "AND compression = {'chunk_length_in_kb': '64', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor', 'min_compress_ratio': '1.1'}", ? +++++++++++++++++++++++++++++ 'AND crc_check_chance = 1.0', 'AND dclocal_read_repair_chance = 0.1', 'AND default_time_to_live = 0', 'AND gc_grace_seconds = 864000', 'AND max_index_interval = 2048', 'AND memtable_flush_period_in_ms = 0', 'AND min_index_interval = 128', 'AND read_repair_chance = 0.0', "AND speculative_retry = '99PERCENTILE';", 'CREATE INDEX myindex ON test.users (age);']
Stacktrace File "/usr/lib/python2.7/unittest/case.py", line 329, in run testMethod() File "/home/automaton/cassandra-dtest/cqlsh_tests/cqlsh_tests.py", line 702, in test_describe self.execute(cql="DESCRIBE KEYSPACE test", expected_output=self.get_keyspace_output()) File "/home/automaton/cassandra-dtest/cqlsh_tests/cqlsh_tests.py", line 1042, in execute self.check_response(output, expected_output) File "/home/automaton/cassandra-dtest/cqlsh_tests/cqlsh_tests.py", line 1049, in check_response self.assertEqual(expected_lines, lines) File "/usr/lib/python2.7/unittest/case.py", line 513, in assertEqual assertion_func(first, second, msg=msg) File "/usr/lib/python2.7/unittest/case.py", line 742, in assertListEqual self.assertSequenceEqual(list1, list2, msg, seq_type=list) File "/usr/lib/python2.7/unittest/case.py", line 724, in assertSequenceEqual self.fail(msg) File "/usr/lib/python2.7/unittest/case.py", line 410, in fail raise self.failureException(msg)
Attachments
Attachments
Issue Links
- is blocked by
-
CASSANDRA-10520 Compressed writer and reader should support non-compressed data.
- Resolved