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