diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/framework.py | 1 | ||||
-rw-r--r-- | test/test_vhost.py | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/test/framework.py b/test/framework.py index 004d2f62f49..22a4dd87571 100644 --- a/test/framework.py +++ b/test/framework.py @@ -316,6 +316,7 @@ class VppTestCase(unittest.TestCase): "main-core", str(cpu_core_number), "}", "statseg", "{", "socket-name", cls.stats_sock, "}", "plugins", "{", "plugin", "dpdk_plugin.so", "{", "disable", + "}", "plugin", "rdma_plugin.so", "{", "disable", "}", "plugin", "unittest_plugin.so", "{", "enable", "}"] + cls.extra_vpp_plugin_config + ["}", ] if cls.extra_vpp_punt_config is not None: diff --git a/test/test_vhost.py b/test/test_vhost.py index 15eb0701f91..c657da7ba0c 100644 --- a/test/test_vhost.py +++ b/test/test_vhost.py @@ -92,8 +92,8 @@ class TesVhostInterface(VppTestCase): vhost_if.add_vpp_config() self.sleep(0.1) events = self.vapi.collect_events() - # creating interface doesn't currently create events - self.assert_equal(len(events), 0, "number of events") + # creating interface does now create events + self.assert_equal(len(events), 1, "number of events") vhost_if.admin_up() vhost_if.assert_interface_state(1, 0, expect_event=True) |