commit | 5f8200740cf29fc57aa3dee851abf5d99efcffe4 | [log] [tgz] |
---|---|---|
author | Jeremy <jeremy@onlab.us> | Thu Feb 11 13:50:35 2016 -0800 |
committer | Jeremy <jeremy@onlab.us> | Thu Feb 11 13:50:35 2016 -0800 |
tree | 2d1d16279cd2ba43fa6b1621b3019001816e2700 | |
parent | 11845ed72a0da5a71bd02add6fcfcf9e9c15f6e1 [diff] |
Fix sending requests to onos clis that are not connected Change-Id: I2b488f4bb7307e562202141aa111533856aaf423
diff --git a/TestON/tests/FUNCipv6Intent/FUNCipv6Intent.py b/TestON/tests/FUNCipv6Intent/FUNCipv6Intent.py index 7351273..9ee99fb 100644 --- a/TestON/tests/FUNCipv6Intent/FUNCipv6Intent.py +++ b/TestON/tests/FUNCipv6Intent/FUNCipv6Intent.py
@@ -239,8 +239,8 @@ main.step( "Checking that ONOS is ready" ) for i in range( 10 ): ready = True - for cli in main.CLIs: - output = cli.summary() + for i in range( int( main.scale[ 0 ] ) ): + output = main.CLIs[ i ].summary() if not output: ready = False time.sleep( 30 )