Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
ip: Use .api declared error counters
[vpp.git]
/
test
/
test_gre.py
diff --git
a/test/test_gre.py
b/test/test_gre.py
index
a79819e
..
cfba559
100644
(file)
--- a/
test/test_gre.py
+++ b/
test/test_gre.py
@@
-58,7
+58,7
@@
class TestGREInputNodes(VppTestCase):
self.pg0.add_stream(pkt)
self.pg_start()
# no tunnel created, gre-input not registered
self.pg0.add_stream(pkt)
self.pg_start()
# no tunnel created, gre-input not registered
- err = self.statistics.get_counter("/err/ip4-local/unknown
ip
protocol")[0]
+ err = self.statistics.get_counter("/err/ip4-local/unknown
_
protocol")[0]
self.assertEqual(err, 1)
err_count = err
self.assertEqual(err, 1)
err_count = err
@@
-69,7
+69,7
@@
class TestGREInputNodes(VppTestCase):
self.pg0.add_stream(pkt)
self.pg_start()
# tunnel created, gre-input registered
self.pg0.add_stream(pkt)
self.pg_start()
# tunnel created, gre-input registered
- err = self.statistics.get_counter("/err/ip4-local/unknown
ip
protocol")[0]
+ err = self.statistics.get_counter("/err/ip4-local/unknown
_
protocol")[0]
# expect no new errors
self.assertEqual(err, err_count)
# expect no new errors
self.assertEqual(err, err_count)