Commit 69bb80cc authored by Philip ABBET's avatar Philip ABBET

Add missing changes from previous commit

parent dba1eb10
......@@ -124,7 +124,7 @@ class AsyncTest(unittest.TestCase):
def test_memory_limit(self):
with Popen(self.host, 'environment (1)', ['python', '-c', '; '.join([
with Popen(self.host, 'Python 2.7 (1.1.0)', ['python', '-c', '; '.join([
"print('Before')",
"import sys; sys.stdout.flush()",
"d = '0' * (10 * 1024 * 1024)",
......@@ -146,7 +146,7 @@ class AsyncTest(unittest.TestCase):
def test_memory_limit2(self):
with Popen(self.host, 'environment (1)', ['python', '-c', '; '.join([
with Popen(self.host, 'Python 2.7 (1.1.0)', ['python', '-c', '; '.join([
"print('Before')",
"import sys; sys.stdout.flush()",
"d = '0' * (10 * 1024 * 1024)",
......@@ -175,7 +175,7 @@ class AsyncTest(unittest.TestCase):
# disabled: we limit the maximum output to 1M internally
size = 2**16 #bytes
with Popen(self.host, 'environment (1)', ['python', '-c', '; '.join([
with Popen(self.host, 'Python 2.7 (1.1.0)', ['python', '-c', '; '.join([
"import sys",
"for i in range(%d): sys.stdout.write('%%d\n' %% i)" % size,
"sys.stdout.flush()",
......@@ -198,7 +198,7 @@ class AsyncTest(unittest.TestCase):
# disabled: we limit the maximum output to 1M internally
size = 2**16 #bytes
with Popen(self.host, 'environment (1)', ['python', '-c', '; '.join([
with Popen(self.host, 'Python 2.7 (1.1.0)', ['python', '-c', '; '.join([
"import sys",
"for i in range(%d): sys.stderr.write('%%d\n' %% i)" % size,
"sys.stderr.flush()",
......@@ -221,7 +221,7 @@ class AsyncTest(unittest.TestCase):
# disabled: we limit the maximum output to 1M internally
size = 2**16 #bytes
with Popen(self.host, 'environment (1)', ['python', '-c', '; '.join([
with Popen(self.host, 'Python 2.7 (1.1.0)', ['python', '-c', '; '.join([
"import sys",
"for i in range(%d): sys.stdout.write('%%d\n' %% i)" % size,
"sys.stdout.flush()",
......@@ -251,7 +251,7 @@ class AsyncTest(unittest.TestCase):
program = pkg_resources.resource_filename(__name__, 'cpu_stress.py')
tmp_name = os.path.join('/tmp', os.path.basename(program))
with Popen(self.host, 'environment (1)', ['python', tmp_name,
with Popen(self.host, 'Python 2.7 (1.1.0)', ['python', tmp_name,
str(processes)], max_cpu_percent=max_cpu_percent,
tmp_archive=program) as p:
......
#! /bin/bash
IMAGES=(
docker.idiap.ch/beat/beat.env.system.python:system
docker.idiap.ch/beat/beat.env.system.python:1.1.0
docker.idiap.ch/beat/beat.env.db.examples:1.0.1
docker.idiap.ch/beat/beat.env.cxx:1.0.1
docker.idiap.ch/beat/beat.env.client:1.0.0
......
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