QUICK FIX:
- Remove host compare before onos discover host
Change-Id: I2e7d9aaff20642aa3d58d09790ce07fb221ec12e
diff --git a/TestON/tests/SCPF/SCPFscaleTopo/SCPFscaleTopo.py b/TestON/tests/SCPF/SCPFscaleTopo/SCPFscaleTopo.py
index 25565dc..96ac405 100644
--- a/TestON/tests/SCPF/SCPFscaleTopo/SCPFscaleTopo.py
+++ b/TestON/tests/SCPF/SCPFscaleTopo/SCPFscaleTopo.py
@@ -296,7 +296,6 @@
while compareRetry <3:
#While loop for retry
devices = main.topo.getAllDevices( main )
- hosts = main.topo.getAllHosts( main )
ports = main.topo.getAllPorts( main )
links = main.topo.getAllLinks( main)
clusters = main.topo.getAllClusters( main )
@@ -324,14 +323,7 @@
else:
currentLinksResult = main.FALSE
- if hosts[ controller ] or "Error" not in hosts[ controller ]:
- currentHostsResult = main.Mininet1.compareHosts(
- mnHosts,
- json.loads( hosts[ controller ] ) )
- else:
- currentHostsResult = main.FALSE
-
- stepResult = currentDevicesResult and currentLinksResult and currentHostsResult
+ stepResult = currentDevicesResult and currentLinksResult
if stepResult:
break
compareRetry += 1