From: Dave Barach Date: Wed, 25 Dec 2019 14:24:58 +0000 (-0500) Subject: tests: configure 32 mb physmem X-Git-Tag: v20.05-rc0~97 X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=commitdiff_plain;h=4ed2598562b1fe65efe69ae53397dfe9f1f07be8 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 Change-Id: Id8e3ce1763cad3a0891d5d6c8d2c1e3e610682d7 --- 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 """