Merge "Always bringing down ONOS node 3 and increased the pingall timeout."
diff --git a/TestON/tests/SCPFscaleTopo/SCPFscaleTopo.params b/TestON/tests/SCPFscaleTopo/SCPFscaleTopo.params
index c6b9b40..1e8635e 100755
--- a/TestON/tests/SCPFscaleTopo/SCPFscaleTopo.params
+++ b/TestON/tests/SCPFscaleTopo/SCPFscaleTopo.params
@@ -44,7 +44,7 @@
</SLEEP>
<TIMEOUT>
- <pingall>60</pingall>
+ <pingall>1000</pingall>
</TIMEOUT>
<TOPOLOGY>
diff --git a/TestON/tests/SCPFscaleTopo/SCPFscaleTopo.py b/TestON/tests/SCPFscaleTopo/SCPFscaleTopo.py
index b094c4b..b44d482 100644
--- a/TestON/tests/SCPFscaleTopo/SCPFscaleTopo.py
+++ b/TestON/tests/SCPFscaleTopo/SCPFscaleTopo.py
@@ -390,16 +390,15 @@
def CASE200( self, main ):
'''
- Bring random node down
+ Bring third node down
'''
- import random
- main.case( "Randomly stopping an ONOS service" )
- main.step( "Bringing down an onos node" )
+ main.case( "Stopping an ONOS service" )
+ main.step( "Bringing down node 3" )
- random.seed()
- # Get the random index of the node
- main.deadNode = random.randrange(0,main.numCtrls)
+ # Always bring down the third node
+ main.deadNode = 2
+ # Printing purposes
node = main.deadNode + 1
main.log.info( "deadnode: %s" % node )