summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2021-03-30 00:51:41 +0200
committerDamjan Marion <dmarion@me.com>2021-03-30 07:53:07 +0000
commit9bf487fb45eb31c65c03453b348a34a2b3a863f9 (patch)
treeaffda6f03dc84d4da415de6bbf5362f15e276e6d /src
parent41d5f541d37dc564565b3b29eb370b65bb5a9036 (diff)
map: tune dump/details test for socket transport
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: Id3ad783a7b0321a8fa37b4e606c0c4551ca4edd4
Diffstat (limited to 'src')
-rw-r--r--src/plugins/map/test/test_map.py2
1 files changed, 1 insertions, 1 deletions
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)