summaryrefslogtreecommitdiffhomepage
path: root/test/scenario_test/route_server_ipv4_v6_test.py
diff options
context:
space:
mode:
authorNaoto Hanaue <hanaue.naoto@po.ntts.co.jp>2015-02-17 11:23:36 +0900
committerNaoto Hanaue <hanaue.naoto@po.ntts.co.jp>2015-02-17 11:23:36 +0900
commit43038c2e96e8ef7bcf2da145446fcd88c3007338 (patch)
tree97c0bd7e9033c215fa91b6f89baadf6973c4e32e /test/scenario_test/route_server_ipv4_v6_test.py
parenta777030609e49c2e77cb70352de579fa2ecc7be1 (diff)
scenario_test: add malformed test pattern
Diffstat (limited to 'test/scenario_test/route_server_ipv4_v6_test.py')
-rw-r--r--test/scenario_test/route_server_ipv4_v6_test.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/scenario_test/route_server_ipv4_v6_test.py b/test/scenario_test/route_server_ipv4_v6_test.py
index bff5bad5..361c1572 100644
--- a/test/scenario_test/route_server_ipv4_v6_test.py
+++ b/test/scenario_test/route_server_ipv4_v6_test.py
@@ -157,9 +157,9 @@ class GoBGPIPv6Test(unittest.TestCase):
self.assertEqual(exist_n, 1)
def retry_routine_for_stete(self, addresses):
- inprepar_quagga = True
+ in_prepare_quagga = True
retry_count = 0
- while inprepar_quagga:
+ while in_prepare_quagga:
if retry_count != 0:
print "please wait more (" + str(self.wait_per_retry) + " second)"
time.sleep(self.wait_per_retry)
@@ -183,7 +183,7 @@ class GoBGPIPv6Test(unittest.TestCase):
if address[0] == remote_ip and state == "BGP_FSM_ESTABLISHED":
success_count += 1
if success_count == len(addresses):
- inprepar_quagga = False
+ in_prepare_quagga = False
time.sleep(self.wait_per_retry)
def load_gobgp_config(self):