Commit 6e744310 authored by André Anjos's avatar André Anjos 💬

[test][test_docker] Increase a bit more the container memory for the...

[test][test_docker] Increase a bit more the container memory for the memory-limit test (maybe a py3 requirement?)
parent ef754e5f
Pipeline #27504 passed with stage
in 18 minutes and 35 seconds
......@@ -269,7 +269,7 @@ class AsyncWithEnvironmentTest(unittest.TestCase):
cmd = ['python', '-c', '; '.join([
"print('Before')",
"import sys; sys.stdout.flush()",
"d = '0' * (20 * 1024 * 1024)",
"d = '0' * (40 * 1024 * 1024)",
"import time; time.sleep(5)",
"print('After')",
])
......@@ -282,7 +282,7 @@ class AsyncWithEnvironmentTest(unittest.TestCase):
# If you start seeing EBUSY (device or resource busy errors) from
# docker, then try increasing a bit this value such that it still
# triggers the memory allocation error for the array defined above.
self.host.start(container, virtual_memory_in_megabytes=10)
self.host.start(container, virtual_memory_in_megabytes=20)
time.sleep(2)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment