map: tune dump/details test for socket transport

Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: Id3ad783a7b0321a8fa37b4e606c0c4551ca4edd4
This commit is contained in:
Ole Troan
2021-03-30 00:51:41 +02:00
committed by Damjan Marion
parent 41d5f541d3
commit 9bf487fb45

View File

@@ -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)