mirror of
https://github.com/Infinidat/infi.clickhouse_orm.git
synced 2024-11-11 03:46:34 +03:00
test_freeze fails, possibly due to race condition
This commit is contained in:
parent
88b1cea98c
commit
9891ccffaf
|
@ -63,6 +63,7 @@ class SystemPartTest(unittest.TestCase):
|
||||||
# There can be other backups in the folder
|
# There can be other backups in the folder
|
||||||
prev_backups = set(self._get_backups())
|
prev_backups = set(self._get_backups())
|
||||||
parts[0].freeze()
|
parts[0].freeze()
|
||||||
|
sleep(1)
|
||||||
backups = set(self._get_backups())
|
backups = set(self._get_backups())
|
||||||
self.assertEqual(len(backups), len(prev_backups) + 1)
|
self.assertEqual(len(backups), len(prev_backups) + 1)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user