From a064410a3969bf31ec3095d68472bc9a6955237d Mon Sep 17 00:00:00 2001 From: kssenii Date: Tue, 21 Dec 2021 00:03:43 +0300 Subject: [PATCH] Fix --- tests/integration/test_storage_rabbitmq/test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/test_storage_rabbitmq/test.py b/tests/integration/test_storage_rabbitmq/test.py index 5342473aefa..01f13bfcd42 100644 --- a/tests/integration/test_storage_rabbitmq/test.py +++ b/tests/integration/test_storage_rabbitmq/test.py @@ -67,8 +67,8 @@ def rabbitmq_cluster(): def rabbitmq_setup_teardown(): print("RabbitMQ is available - running test") yield # run test - for table_name in ['view', 'consumer', 'rabbitmq']: - instance.query(f'DROP TABLE IF EXISTS test.{table_name}') + instance.query(f'DROP DATABASE test') + instance.query('CREATE DATABASE test') # Tests