summaryrefslogtreecommitdiffstats
path: root/test/test_geneve.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_geneve.py')
-rw-r--r--test/test_geneve.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_geneve.py b/test/test_geneve.py
index ebe95a0f1a0..4d6e3f5932a 100644
--- a/test/test_geneve.py
+++ b/test/test_geneve.py
@@ -113,7 +113,7 @@ class TestGeneve(BridgeDomain, VppTestCase):
remote_address=cls.mcast_ip4n, 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):