From 9bf487fb45eb31c65c03453b348a34a2b3a863f9 Mon Sep 17 00:00:00 2001 From: Ole Troan Date: Tue, 30 Mar 2021 00:51:41 +0200 Subject: map: tune dump/details test for socket transport Type: fix Signed-off-by: Ole Troan Change-Id: Id3ad783a7b0321a8fa37b4e606c0c4551ca4edd4 --- src/plugins/map/test/test_map.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/map') diff --git a/src/plugins/map/test/test_map.py b/src/plugins/map/test/test_map.py index 746f0aff2de..90fee301267 100644 --- a/src/plugins/map/test/test_map.py +++ b/src/plugins/map/test/test_map.py @@ -134,7 +134,7 @@ class TestMAP(VppTestCase): # Continue at point of deleted cursor rv, details = self.vapi.map_domains_get(cursor=rv.cursor) - self.assertEqual(rv.retval, -165) + self.assertIn(rv.retval, [0, -165]) d = list(self.vapi.vpp.details_iter(self.vapi.map_domains_get)) self.assertEqual(len(d), no_domains - 1) -- cgit 1.2.3-korg