Skip to content

Commit e38c80f

Browse files
committed
Tweak amount of sleep in new unit test
1 parent 80a9668 commit e38c80f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_gridmap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
from time import sleep
2727

2828
import gridmap
29-
from gridmap import Job, process_jobs, grid_map
29+
from gridmap import Job, process_jobs, grid_map, HEARTBEAT_FREQUENCY
3030

3131
from nose.tools import eq_
3232

@@ -40,7 +40,7 @@
4040

4141

4242
def compute_factorial_slow(n):
43-
sleep(100)
43+
sleep(HEARTBEAT_FREQUENCY + 1)
4444
ret = 1
4545
for i in range(n):
4646
ret = ret * (i + 1)

0 commit comments

Comments
 (0)