commit | ba823f0e99659db6f9181c364933e305c23c24ba | [log] [tgz] |
---|---|---|
author | You Wang <you@opennetworking.org> | Thu May 17 13:54:08 2018 -0700 |
committer | You Wang <you@opennetworking.org> | Thu May 17 13:54:08 2018 -0700 |
tree | d10a26b0cfab78a0acd4cc29d44ba6fb0e745a25 | |
parent | 8836b286d760b5c81a7953af0ab1fc9f600a5990 [diff] |
Skip test case on any multicast traffic failure Change-Id: Iddbc295c821b0d70854f2421d3125fd58e992985
diff --git a/TestON/tests/USECASE/SegmentRouting/dependencies/Testcaselib.py b/TestON/tests/USECASE/SegmentRouting/dependencies/Testcaselib.py index ce6d20c..4051231 100644 --- a/TestON/tests/USECASE/SegmentRouting/dependencies/Testcaselib.py +++ b/TestON/tests/USECASE/SegmentRouting/dependencies/Testcaselib.py
@@ -1142,7 +1142,7 @@ actual=result, onpass="Verify {} multicast traffic: Pass".format( routeName ), onfail="Verify {} multicast traffic: Fail".format( routeName ) ) - if skipOnFail and trafficResult != main.TRUE: + if skipOnFail and result != main.TRUE: Testcaselib.saveOnosDiagnostics( main ) Testcaselib.cleanup( main, copyKarafLog=False ) main.skipCase()