Fixed a vague error message in integration tests. [#CLICKHOUSE-2]

This commit is contained in:
Vitaliy Lyudvichenko 2017-11-20 23:07:29 +03:00
parent 07d594c505
commit 2cf6e20fef
2 changed files with 3 additions and 2 deletions

View File

@ -85,6 +85,9 @@ class PartitionManager:
def __exit__(self, exc_type, exc_val, exc_tb): def __exit__(self, exc_type, exc_val, exc_tb):
self.heal_all() self.heal_all()
def __del__(self):
self.heal_all()
class PartitionManagerDisbaler: class PartitionManagerDisbaler:
def __init__(self, manager): def __init__(self, manager):

View File

@ -120,8 +120,6 @@ def started_cluster():
ddl_check_there_are_no_dublicates(instance) ddl_check_there_are_no_dublicates(instance)
finally: finally:
# Remove iptables rules for sacrifice instance
cluster.pm_random_drops.heal_all()
cluster.shutdown() cluster.shutdown()