summaryrefslogtreecommitdiffhomepage
path: root/test/scenario_test
diff options
context:
space:
mode:
Diffstat (limited to 'test/scenario_test')
-rw-r--r--test/scenario_test/bgp_router_test.py4
-rw-r--r--test/scenario_test/evpn_test.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/scenario_test/bgp_router_test.py b/test/scenario_test/bgp_router_test.py
index b03d0ed2..3bac02ff 100644
--- a/test/scenario_test/bgp_router_test.py
+++ b/test/scenario_test/bgp_router_test.py
@@ -53,8 +53,8 @@ class GoBGPTestBase(unittest.TestCase):
time.sleep(initial_wait_time)
for q in qs:
- g1.add_peer(q, reload_config=False)
- q.add_peer(g1)
+ g1.add_peer(q, reload_config=False, passwd='passwd')
+ q.add_peer(g1, passwd='passwd', passive=True)
g1.create_config()
g1.reload_config()
diff --git a/test/scenario_test/evpn_test.py b/test/scenario_test/evpn_test.py
index b718bd3d..7920bf2b 100644
--- a/test/scenario_test/evpn_test.py
+++ b/test/scenario_test/evpn_test.py
@@ -58,8 +58,8 @@ class GoBGPTestBase(unittest.TestCase):
time.sleep(initial_wait_time)
for a, b in combinations(ctns, 2):
- a.add_peer(b, evpn=True)
- b.add_peer(a, evpn=True)
+ a.add_peer(b, evpn=True, passwd='evpn')
+ b.add_peer(a, evpn=True, passwd='evpn')
cls.g1 = g1
cls.g2 = g2