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 845a82a  Explicitly define num_tokens=1 when not using vnodes
845a82a is described below

commit 845a82a38d3c4bb6d14c0bdb3341bfdc36ebbb02
Author: Brandon Williams <brandonwilli...@apache.org>
AuthorDate: Tue Nov 17 17:33:13 2020 -0600

    Explicitly define num_tokens=1 when not using vnodes
---
 dtest_setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dtest_setup.py b/dtest_setup.py
index 8cae7d1..23d7531 100644
--- a/dtest_setup.py
+++ b/dtest_setup.py
@@ -423,7 +423,7 @@ class DTestSetup(object):
             self.cluster.set_configuration_options(
                 values={'initial_token': None, 'num_tokens': 
self.dtest_config.num_tokens})
         else:
-            self.cluster.set_configuration_options(values={'num_tokens': None})
+            self.cluster.set_configuration_options(values={'num_tokens': 1})
 
         if self.dtest_config.use_off_heap_memtables:
             
self.cluster.set_configuration_options(values={'memtable_allocation_type': 
'offheap_objects'})


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

Reply via email to