summaryrefslogtreecommitdiffstats
path: root/test/test_vxlan.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_vxlan.py')
-rw-r--r--test/test_vxlan.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_vxlan.py b/test/test_vxlan.py
index 7e3ea50c2e4..5ded725abf6 100644
--- a/test/test_vxlan.py
+++ b/test/test_vxlan.py
@@ -111,7 +111,7 @@ class TestVxlan(BridgeDomain, VppTestCase):
mcast_sw_if_index=1,
is_add=is_add, vni=vni)
if r.sw_if_index == 0xffffffff:
- raise "bad sw_if_index"
+ raise ValueError("bad sw_if_index: ~0")
@classmethod
def add_shared_mcast_dst_load(cls):