Merge pull request #31316 from kssenii/debug-rabbit--test

Debug rabbitmq tests
This commit is contained in:
Kseniia Sumarokova 2021-11-12 11:29:37 +03:00 committed by GitHub
commit ccbe110857
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2217,10 +2217,10 @@ def test_rabbitmq_random_detach(rabbitmq_cluster):
time.sleep(random.uniform(0, 1))
thread.start()
time.sleep(5)
kill_rabbitmq(rabbitmq_cluster.rabbitmq_docker_id)
instance.query("detach table test.rabbitmq")
revive_rabbitmq(rabbitmq_cluster.rabbitmq_docker_id)
#time.sleep(5)
#kill_rabbitmq(rabbitmq_cluster.rabbitmq_docker_id)
#instance.query("detach table test.rabbitmq")
#revive_rabbitmq(rabbitmq_cluster.rabbitmq_docker_id)
for thread in threads:
thread.join()