Fix HA UP4 control plane test
Change-Id: I3fa058798f4b94dd21e4c0682954b42ca8b968dc
diff --git a/TestON/tests/USECASE/SegmentRouting/UP4/UP4.py b/TestON/tests/USECASE/SegmentRouting/UP4/UP4.py
index 17925e8..cc3ed10 100644
--- a/TestON/tests/USECASE/SegmentRouting/UP4/UP4.py
+++ b/TestON/tests/USECASE/SegmentRouting/UP4/UP4.py
@@ -529,7 +529,7 @@
main.step("Cleanup PDRs and FARs via UP4 on ONOS 1")
up4_1.detachUes()
- up4_1.verifyNoUesFlow(onos_cli_2)
+ up4_1.verifyNoUesFlow(onos_cli_1)
up4_1.teardown()
run.cleanup(main)
diff --git a/TestON/tests/USECASE/SegmentRouting/dependencies/up4.py b/TestON/tests/USECASE/SegmentRouting/dependencies/up4.py
index c66c45e..a4505d7 100644
--- a/TestON/tests/USECASE/SegmentRouting/dependencies/up4.py
+++ b/TestON/tests/USECASE/SegmentRouting/dependencies/up4.py
@@ -246,7 +246,7 @@
"""
return self.readPdrsNumber() == self.readFarsNumber() == preInstalledUes * 2
- def verifyNoUesFlow(self, onosCli, retries=3):
+ def verifyNoUesFlow(self, onosCli, retries=10):
"""
Verify that no PDRs and FARs are installed in ONOS.
@@ -257,7 +257,7 @@
retValue = utilities.retry(f=UP4.__verifyNoPdrsFarsOnos,
retValue=False,
args=[onosCli],
- sleep=1,
+ sleep=5,
attempts=retries)
utilities.assert_equal(expect=True,
actual=retValue,