summaryrefslogtreecommitdiff
path: root/tests/topotests/zebra_netlink/test_zebra_netlink.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/zebra_netlink/test_zebra_netlink.py')
-rw-r--r--tests/topotests/zebra_netlink/test_zebra_netlink.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/topotests/zebra_netlink/test_zebra_netlink.py b/tests/topotests/zebra_netlink/test_zebra_netlink.py
index 5a30f79279..522c390c39 100644
--- a/tests/topotests/zebra_netlink/test_zebra_netlink.py
+++ b/tests/topotests/zebra_netlink/test_zebra_netlink.py
@@ -22,7 +22,6 @@ from lib import topotest
from lib.topogen import Topogen, TopoRouter
from lib.topolog import logger
-
pytestmark = [pytest.mark.sharpd]
@@ -68,6 +67,10 @@ def test_zebra_netlink_batching(tgen):
# Reduce the size of the buffer to hit the limit.
r1.vtysh_cmd("conf t\nzebra kernel netlink batch-tx-buf 256 256")
+ entry = {"r1-eth0": {"addresses": ["192.168.1.1/24"]}}
+ ok = topotest.router_json_cmp_retry(r1, "show int brief json", entry, False, 30)
+ assert ok, '"r1" Address not installed yet'
+
count = 100
r1.vtysh_cmd("sharp install routes 2.1.3.7 nexthop 192.168.1.1 " + str(count))