Fix SRRouting test steps and result assertions
Change-Id: Iee775ec21ec40a7fce01528cc23dcb7aa1ad468d
diff --git a/TestON/tests/USECASE/SegmentRouting/dependencies/Testcaselib.py b/TestON/tests/USECASE/SegmentRouting/dependencies/Testcaselib.py
index 45d166e..bc31374 100644
--- a/TestON/tests/USECASE/SegmentRouting/dependencies/Testcaselib.py
+++ b/TestON/tests/USECASE/SegmentRouting/dependencies/Testcaselib.py
@@ -518,6 +518,10 @@
attempts=10,
sleep=main.linkSleep )
+ utilities.assert_equals( expect=main.TRUE, actual=topology,
+ onpass="Link batch down successful",
+ onfail="Link batch down failed" )
+
@staticmethod
def restoreLinkBatch( main, links, linksAfter, switches=7):
"""
@@ -542,6 +546,10 @@
attempts=10,
sleep=main.linkSleep )
+ utilities.assert_equals( expect=main.TRUE, actual=topology,
+ onpass="Link batch up successful",
+ onfail="Link batch up failed" )
+
@staticmethod
def restoreLink( main, end1, end2, dpid1, dpid2, port1, port2, switches,
links ):