summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2019-12-25 09:24:58 -0500
committerAndrew Yourtchenko <ayourtch@gmail.com>2020-01-02 16:29:19 +0000
commit4ed2598562b1fe65efe69ae53397dfe9f1f07be8 (patch)
tree8a980b2745d462cdd6baaee5d827d840061ad6fa
parent15d7fd0fe02dbeac2337049b2c157b0f08d0282d (diff)
tests: configure 32 mb physmem
Absolutely nothing good happens when we force the kernel to briefly map and then unmap 16gb as vpp starts. Effect exacerbated when TEST_JOBS = 20...40, and so forth. Type: test Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: Id8e3ce1763cad3a0891d5d6c8d2c1e3e610682d7
-rw-r--r--test/framework.py1
-rw-r--r--test/test_vlib.py3
2 files changed, 2 insertions, 2 deletions
diff --git a/test/framework.py b/test/framework.py
index 7d1955f5c7a..e08c9a1145c 100644
--- a/test/framework.py
+++ b/test/framework.py
@@ -381,6 +381,7 @@ class VppTestCase(unittest.TestCase):
"prefix", cls.shm_prefix, "}", "cpu", "{",
"main-core", str(cpu_core_number),
cls.worker_config, "}",
+ "physmem", "{", "max-size", "32m", "}",
"statseg", "{", "socket-name", cls.stats_sock, "}",
"socksvr", "{", "socket-name", cls.api_sock, "}",
"plugins",
diff --git a/test/test_vlib.py b/test/test_vlib.py
index 33dc602cf2a..82cf6abc421 100644
--- a/test/test_vlib.py
+++ b/test/test_vlib.py
@@ -24,8 +24,7 @@ class TestVlib(VppTestCase):
def tearDown(self):
super(TestVlib, self).tearDown()
- # @unittest.skipUnless(running_extended_tests, "part of extended tests")
-
+ @unittest.skipUnless(running_extended_tests, "part of extended tests")
def test_vlib_main_unittest(self):
""" Vlib main.c Code Coverage Test """