Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
tests: use socket transport instead of shared memory
[vpp.git]
/
test
/
test_ipsec_tun_if_esp.py
diff --git
a/test/test_ipsec_tun_if_esp.py
b/test/test_ipsec_tun_if_esp.py
index
158e911
..
b72d464
100644
(file)
--- a/
test/test_ipsec_tun_if_esp.py
+++ b/
test/test_ipsec_tun_if_esp.py
@@
-509,7
+509,7
@@
class TestIpsec6TunIfEspHandoff(TemplateIpsec6TunIfEsp,
stats0 = policer.get_stats(worker=0)
stats1 = policer.get_stats(worker=1)
stats0 = policer.get_stats(worker=0)
stats1 = policer.get_stats(worker=1)
- if pol_bind
is
1:
+ if pol_bind
==
1:
# First pass: Worker 1, should have done all the policing
self.assertEqual(stats, stats1)
# First pass: Worker 1, should have done all the policing
self.assertEqual(stats, stats1)
@@
-581,7
+581,7
@@
class TestIpsec4TunIfEspHandoff(TemplateIpsec4TunIfEsp,
stats0 = policer.get_stats(worker=0)
stats1 = policer.get_stats(worker=1)
stats0 = policer.get_stats(worker=0)
stats1 = policer.get_stats(worker=1)
- if pol_bind
is
1:
+ if pol_bind
==
1:
# First pass: Worker 1, should have done all the policing
self.assertEqual(stats, stats1)
# First pass: Worker 1, should have done all the policing
self.assertEqual(stats, stats1)