We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 777a1a9 commit e4b5b36Copy full SHA for e4b5b36
1 file changed
eval/container-runner.py
@@ -15,6 +15,7 @@
15
import tempfile
16
import time
17
import random
18
+import sys
19
20
from collections import defaultdict
21
from socket import gethostname
@@ -73,7 +74,7 @@ def time_as_seconds(v: str):
73
74
key: int((Path("/proc/sys/") / key.replace(".", "/")).read_text().strip())
75
for key in REQS
76
}
- satisfied = all(expected >= actual[key] for key, expected in REQS.items())
77
+ satisfied = all(actual[key] >= expected for key, expected in REQS.items())
78
if not satisfied:
79
print(f"[WARN] spawning {os.cpu_count()} containers with podman would run into kernel limits:")
80
for key, value in actual.items():
0 commit comments