Commit 85cef289 authored by Jaden DIEFENBAUGH's avatar Jaden DIEFENBAUGH

[ci] debug docker timing test

parent 5a3ac1df
Pipeline #19846 passed with stages
in 66 minutes and 46 seconds
......@@ -242,7 +242,9 @@ class HostTest(unittest.TestCase):
nb_images = len(Host.images_cache)
self.assertTrue(nb_images > 0)
self.assertTrue(stop - start > 2.0)
time_nocache = stop - start
print(time_nocache)
self.assertTrue(time_nocache > 2.0)
# Should be instantaneous
start = time.time()
......@@ -254,7 +256,9 @@ class HostTest(unittest.TestCase):
self.assertEqual(len(Host.images_cache), nb_images)
self.assertTrue(stop - start < 1.0)
time_cache = stop - start
print(time_cache)
self.assertTrue(time_cache < 1.0)
@slow
......
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