You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by mc...@apache.org on 2020/11/25 20:04:50 UTC

[cassandra-dtest] branch trunk updated: ninja-fix: in boot_strap.py TestBootstrap::_monitor_datadir, variable sstables needs to be defined first (CASSANDRA-15997)

This is an automated email from the ASF dual-hosted git repository.

mck 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 2c0cc2a  ninja-fix: in boot_strap.py TestBootstrap::_monitor_datadir, variable sstables needs to be defined first (CASSANDRA-15997)
2c0cc2a is described below

commit 2c0cc2ae2cdbf83508ecf374ec7a995e7ba0d6b3
Author: Mick Semb Wever <mc...@apache.org>
AuthorDate: Wed Nov 25 20:58:23 2020 +0100

    ninja-fix: in boot_strap.py TestBootstrap::_monitor_datadir, variable sstables needs to be defined first (CASSANDRA-15997)
---
 bootstrap_test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bootstrap_test.py b/bootstrap_test.py
index 51ee32e..3db8eab 100644
--- a/bootstrap_test.py
+++ b/bootstrap_test.py
@@ -827,8 +827,8 @@ class TestBootstrap(Tester):
 
     def _monitor_datadir(self, node, event, basecount, jobs, failed):
         while True:
+            sstables = [s for s in node.get_sstables("keyspace1", "standard1") if "tmplink" not in s]
             if len(sstables) > basecount + jobs:
-                sstables = [s for s in node.get_sstables("keyspace1", "standard1") if "tmplink" not in s]
                 logger.error("---")
                 for sstable in sstables:
                     logger.error(sstable)


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