You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by zz...@apache.org on 2017/07/13 00:15:25 UTC

[14/50] cassandra-dtest git commit: Restrict data dir for sstabledump test

Restrict data dir for sstabledump test


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

Branch: refs/heads/master
Commit: c17e011b944ed29b57c29b6f6b2258de0d35f90b
Parents: 8b58b70
Author: Yuki Morishita <mo...@gmail.com>
Authored: Mon Apr 3 10:01:57 2017 +0900
Committer: Philip Thompson <pt...@gmail.com>
Committed: Mon Apr 3 10:05:47 2017 -0400

----------------------------------------------------------------------
 offline_tools_test.py | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra-dtest/blob/c17e011b/offline_tools_test.py
----------------------------------------------------------------------
diff --git a/offline_tools_test.py b/offline_tools_test.py
index 89d7ca9..3f9c2b7 100644
--- a/offline_tools_test.py
+++ b/offline_tools_test.py
@@ -389,6 +389,8 @@ class TestOfflineTools(Tester):
         Test that sstabledump functions properly offline to output the contents of a table.
         """
         cluster = self.cluster
+        # disable JBOD conf since the test expects exactly one SSTable to be written.
+        cluster.set_datadir_count(1)
         cluster.populate(1).start(wait_for_binary_proto=True)
         [node1] = cluster.nodelist()
         session = self.patient_cql_connection(node1)


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