X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Ftest_vxlan.py;h=5ded725abf632193a3964495b65204dbc456d21e;hb=c599c6f001bc28e1023fb5e74a27db37b1aae847;hp=7e3ea50c2e424a155a97c7615a6c0d621364fdac;hpb=6459315569f49bcc2b3572f169192ded7323598f;p=vpp.git 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):