Repository: cassandra-dtest
Updated Branches:
  refs/heads/master 3a4b5d98e -> 1df74a6af


Fix schema_metadata_test on trunk


Project: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/commit/1df74a6a
Tree: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/tree/1df74a6a
Diff: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/diff/1df74a6a

Branch: refs/heads/master
Commit: 1df74a6afe80d26192a9310e349885114bde181d
Parents: 3a4b5d9
Author: Aleksey Yeschenko <alek...@yeschenko.com>
Authored: Mon Apr 9 13:56:37 2018 +0100
Committer: Aleksey Yeschenko <alek...@yeschenko.com>
Committed: Tue Apr 10 21:28:43 2018 +0100

----------------------------------------------------------------------
 schema_metadata_test.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra-dtest/blob/1df74a6a/schema_metadata_test.py
----------------------------------------------------------------------
diff --git a/schema_metadata_test.py b/schema_metadata_test.py
index fdfcf56..d8d727b 100644
--- a/schema_metadata_test.py
+++ b/schema_metadata_test.py
@@ -227,9 +227,14 @@ def verify_nondefault_table_settings(created_on_version, 
current_version, keyspa
         assert 20 == meta.options['max_index_interval']
 
     if created_on_version >= '3.0':
-        assert '55PERCENTILE' == meta.options['speculative_retry']
         assert 2121 == meta.options['memtable_flush_period_in_ms']
 
+    if created_on_version >= '3.0':
+        if created_on_version >= '4.0':
+            assert '55p' == meta.options['speculative_retry']
+        else:
+            assert '55PERCENTILE' == meta.options['speculative_retry']
+
     if current_version >= '3.0':
         assert 'org.apache.cassandra.io.compress.DeflateCompressor' == 
meta.options['compression']['class']
         assert '128' == meta.options['compression']['chunk_length_in_kb']


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to