Skip to content

Commit 875726b

Browse files
committed
Pause briefly after warning is printed
1 parent d922f23 commit 875726b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

contrib/vcloud/benchmarkclient_executor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import subprocess
1313
import sys
1414
from pathlib import Path
15+
import time
1516

1617
import benchexec.util
1718
from benchexec import BenchExecException
@@ -280,6 +281,7 @@ def getBenchmarkDataForCloud(benchmark):
280281
DEFAULT_CLOUD_TIMELIMIT,
281282
)
282283
timeLimit = DEFAULT_CLOUD_TIMELIMIT
284+
time.sleep() # give user a moment to notice the warning
283285
memLimit = bytes_to_mb(benchmark.rlimits.memory) or memRequirement
284286
coreLimit = benchmark.rlimits.cpu_cores
285287
wallTimeLimit = benchmark.rlimits.walltime

0 commit comments

Comments
 (0)