From 334f54e6c7a09a2dfe823a426a4b83d8464a35a6 Mon Sep 17 00:00:00 2001 From: Martin Nordsletten Date: Thu, 6 Oct 2016 08:20:31 +0000 Subject: [PATCH 1/2] stress: Increased the allowed page increase --- test/stress/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/stress/test.py b/test/stress/test.py index 042c10e831..2169a29946 100755 --- a/test/stress/test.py +++ b/test/stress/test.py @@ -30,7 +30,7 @@ # It's to be expected that the VM allocates more room during the running of tests # e.g. for containers, packets etc. These should all be freed after a run. -acceptable_increase = 2 * PAGE_SIZE +acceptable_increase = 12 * PAGE_SIZE # A persistent connection to the VM for getting memory info # TODO: This should be expanded to check more vital signs, such as time of day, From 66663bea760fef855e55b96e8a945a06c8e05156 Mon Sep 17 00:00:00 2001 From: Martin Nordsletten Date: Thu, 6 Oct 2016 14:00:30 +0200 Subject: [PATCH 2/2] dhcp test: Added sleep to prevent bug in dhcp test --- test/net/integration/dhcp/test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/net/integration/dhcp/test.py b/test/net/integration/dhcp/test.py index 3c0e9b01cf..b1f43893b5 100755 --- a/test/net/integration/dhcp/test.py +++ b/test/net/integration/dhcp/test.py @@ -2,6 +2,7 @@ import sys import os +import time import subprocess includeos_src = os.environ.get('INCLUDEOS_SRC', @@ -23,6 +24,7 @@ def DHCP_test(): ip_string = vm.readline() print " Assigned address: ", ip_string print " Trying to ping" + time.sleep(1) try: command = ["ping", ip_string.rstrip(), "-c", str(ping_count), "-i", "0.2"] print color.DATA(" ".join(command))