maxwellguo created CASSANDRA-18325:
--------------------------------------

             Summary: dtest.bootstrap_test.TestBootstrap.test_cleanup
                 Key: CASSANDRA-18325
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18325
             Project: Cassandra
          Issue Type: Bug
          Components: Test/dtest/python
            Reporter: maxwellguo


assert not True
 +  where True = <bound method Event.is_set of <threading.Event object at 
0x7f5b16fda070>>()
 +    where <bound method Event.is_set of <threading.Event object at 
0x7f5b16fda070>> = <threading.Event object at 0x7f5b16fda070>.is_set
Stacktrace
self = <bootstrap_test.TestBootstrap object at 0x7f5b25f4f880>

    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 0x7f5b16fda070>>()
E        +    where <bound method Event.is_set of <threading.Event object at 
0x7f5b16fda070>> = <threading.Event object at 0x7f5b16fda070>.is_set

bootstrap_test.py:912: AssertionError


failed twice 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to