Skip to content
Snippets Groups Projects
Commit 24045512 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Revert "[ci] debug docker timing test"

This reverts commit 85cef289.
parent 85cef289
No related branches found
No related tags found
2 merge requests!32Merge development branch 1.6.x,!23[dock] Closes #55 by restricting the image search to images with the name containing `beat.env.`
Pipeline #
...@@ -242,9 +242,7 @@ class HostTest(unittest.TestCase): ...@@ -242,9 +242,7 @@ class HostTest(unittest.TestCase):
nb_images = len(Host.images_cache) nb_images = len(Host.images_cache)
self.assertTrue(nb_images > 0) self.assertTrue(nb_images > 0)
time_nocache = stop - start self.assertTrue(stop - start > 2.0)
print(time_nocache)
self.assertTrue(time_nocache > 2.0)
# Should be instantaneous # Should be instantaneous
start = time.time() start = time.time()
...@@ -256,9 +254,7 @@ class HostTest(unittest.TestCase): ...@@ -256,9 +254,7 @@ class HostTest(unittest.TestCase):
self.assertEqual(len(Host.images_cache), nb_images) self.assertEqual(len(Host.images_cache), nb_images)
time_cache = stop - start self.assertTrue(stop - start < 1.0)
print(time_cache)
self.assertTrue(time_cache < 1.0)
@slow @slow
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment