Commit cb485fc6 authored by Julien Muchembled's avatar Julien Muchembled

qa: in ImporterTests.test, make an assertion a little less strict

parent 4b8d0949
...@@ -224,7 +224,7 @@ class ImporterTests(NEOThreadedTest): ...@@ -224,7 +224,7 @@ class ImporterTests(NEOThreadedTest):
last_import = i last_import = i
self.tic() self.tic()
# Same as above. We want last_import smaller enough compared to i # Same as above. We want last_import smaller enough compared to i
assert i / 3 < last_import < i - 3, (last_import, i) assert i / 3 < last_import < i - 2, (last_import, i)
self.assertFalse(cluster.storage.dm._import) self.assertFalse(cluster.storage.dm._import)
i = len(src_root) + 1 i = len(src_root) + 1
self.assertEqual(sorted(r.walk()), sorted( self.assertEqual(sorted(r.walk()), sorted(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment