commit | ba973f0c135a4d98ec959341039eb327feacaad7 | [log] [tgz] |
---|---|---|
author | You Wang <you@opennetworking.org> | Thu Aug 30 12:33:41 2018 -0700 |
committer | You Wang <you@opennetworking.org> | Thu Aug 30 12:33:41 2018 -0700 |
tree | eddb26e7992026d7432919eb4c42092286ccedb3 | |
parent | f32c6ed61b666fb983f367d82c529c51bb2ca6a6 [diff] |
Exit the test if checkOnosNodes fails Change-Id: I91b8f7bf8d61f5d29c6f092933d8608d88e3763b
diff --git a/TestON/tests/dependencies/ONOSSetup.py b/TestON/tests/dependencies/ONOSSetup.py index 66d104d..8616669 100644 --- a/TestON/tests/dependencies/ONOSSetup.py +++ b/TestON/tests/dependencies/ONOSSetup.py
@@ -429,7 +429,8 @@ ctrl.name, ctrl.CLI.sendline( "scr:list | grep -v ACTIVE" ) ) ) main.log.error( "Failed to start ONOS, stopping test" ) - return main.TRUE if stepResult else main.FALSE + main.cleanAndExit() + return main.TRUE def checkOnosApps( self, cluster, apps ): """