diff --git a/beat/core/test/test_docker.py b/beat/core/test/test_docker.py index 1255ca56bb014a15b6d0536e704a69d7275e4378..23c538376ef5da628f0afa83ddbca3a6e0ad2968 100644 --- a/beat/core/test/test_docker.py +++ b/beat/core/test/test_docker.py @@ -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)