Skip to content

Commit

Permalink
Implements #233
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Dec 19, 2017
1 parent 365096e commit 8c9da29
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/unit/test_im_logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -557,10 +557,10 @@ def test_inf_addresources_parallel(self):
Config.MAX_SIMULTANEOUS_LAUNCHES = 3 # Test the pool
vms = IM.AddResource(infId, str(radl), auth0)
delay = int(time.time()) - before
self.assertLess(delay, 17)
self.assertGreater(delay, 14)
# self.assertLess(delay, 7)
# self.assertGreater(delay, 4)
# self.assertLess(delay, 17)
# self.assertGreater(delay, 14)
self.assertLess(delay, 7)
self.assertGreater(delay, 4)
Config.MAX_SIMULTANEOUS_LAUNCHES = 1

self.assertEqual(vms, [6, 7, 8, 9, 10, 11])
Expand Down

0 comments on commit 8c9da29

Please sign in to comment.