commit | 7ac7bc3fe8322e45fd934d32f82679a6f0d09851 | [log] [tgz] |
---|---|---|
author | Jon Hall <jhall@onlab.us> | Thu May 05 10:57:02 2016 -0700 |
committer | Jon Hall <jhall@onlab.us> | Thu May 05 10:57:02 2016 -0700 |
tree | 9a54d174f7fe39cf5c58b63b0727cce249e251ff | |
parent | 96eedd9ab45ce46d8ce19e4e0b725922453013fc [diff] |
Don't try to use nodes not active Change-Id: I6febbaf317096cc206a2cec36f1f5d4279d54cea
diff --git a/TestON/tests/HA/HAsanity/HAsanity.py b/TestON/tests/HA/HAsanity/HAsanity.py index 3c77dd0..13b4084 100644 --- a/TestON/tests/HA/HAsanity/HAsanity.py +++ b/TestON/tests/HA/HAsanity/HAsanity.py
@@ -262,7 +262,8 @@ onfail="Nodes check NOT successful" ) if not nodeResults: - for cli in main.CLIs: + for i in main.activeNodes: + cli = main.CLIs[i] main.log.debug( "{} components not ACTIVE: \n{}".format( cli.name, cli.sendline( "scr:list | grep -v ACTIVE" ) ) )