summaryrefslogtreecommitdiffstats
path: root/test/test_gbp.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_gbp.py')
-rw-r--r--test/test_gbp.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test_gbp.py b/test/test_gbp.py
index 568191c6f35..51df8d9e936 100644
--- a/test/test_gbp.py
+++ b/test/test_gbp.py
@@ -3135,8 +3135,9 @@ class TestGBP(VppTestCase):
self.assertEqual(rx[VXLAN].vni, 88)
self.assertTrue(rx[VXLAN].flags.G)
self.assertTrue(rx[VXLAN].flags.Instance)
- # policy is not applied since we don't know where it's going
- self.assertFalse(rx[VXLAN].gpflags.A)
+ # policy was applied to the original IP packet
+ self.assertEqual(rx[VXLAN].gpid, 200)
+ self.assertTrue(rx[VXLAN].gpflags.A)
self.assertFalse(rx[VXLAN].gpflags.D)
inner = rx[VXLAN].payload