8_cythonno_x86_64_20_64 | test_cleanup | Failure | assert not True
+ where True = <bound method Event.is_set of <threading.Event object at 0x7f44d2fa2ee0>>()
+ where <bound method Event.is_set of <threading.Event object at 0x7f44d2fa2ee0>> = <threading.Event object at 0x7f44d2fa2ee0>.is_set
self = <bootstrap_test.TestBootstrap object at 0x7f44e1e9ee80>
def test_cleanup(self):
"""
@jira_ticket CASSANDRA-11179
Make sure we remove processed files during cleanup
"""
cluster = self.cluster
cluster.set_environment_variable('CASSANDRA_TOKEN_PREGENERATION_DISABLED', 'True')
cluster.set_configuration_options(values={'concurrent_compactors': 4})
cluster.populate(1)
cluster.start()
node1, = cluster.nodelist()
for x in range(0, 5):
node1.stress(['write', 'n=100k', 'no-warmup', '-schema', 'compaction(strategy=SizeTieredCompactionStrategy,enabled=false)', 'replication(factor=1)', '-rate', 'threads=10'])
node1.flush()
node2 = new_node(cluster)
node2.start(wait_for_binary_proto=True)
event = threading.Event()
failed = threading.Event()
jobs = 1
thread = threading.Thread(target=self._monitor_datadir, args=(node1, event, len(node1.get_sstables("keyspace1", "standard1")), jobs, failed))
thread.setDaemon(True)
thread.start()
node1.nodetool("cleanup -j {} keyspace1 standard1".format(jobs))
event.set()
thread.join()
> assert not failed.is_set()
E assert not True
E + where True = <bound method Event.is_set of <threading.Event object at 0x7f44d2fa2ee0>>()
E + where <bound method Event.is_set of <threading.Event object at 0x7f44d2fa2ee0>> = <threading.Event object at 0x7f44d2fa2ee0>.is_set
bootstrap_test.py:960: AssertionError | 124.423 |