Fix onos-wait-for-start used in onosCli function
Change-Id: I18c76cc009bdf58d8c3cc63befcc1c47fd69d88e
diff --git a/TestON/drivers/common/cli/onosdriver.py b/TestON/drivers/common/cli/onosdriver.py
index 002bc1a..ffcd080 100755
--- a/TestON/drivers/common/cli/onosdriver.py
+++ b/TestON/drivers/common/cli/onosdriver.py
@@ -952,7 +952,10 @@
self.handle.sendline( "" )
self.handle.expect( self.prompt )
- self.handle.sendline( "onos-wait-for-start " + ONOSIp + " " + cmdstr )
+ self.handle.sendline( "onos-wait-for-start " + ONOSIp )
+ self.handle.expect( self.prompt )
+
+ self.handle.sendline( "onos " + ONOSIp + " " + cmdstr )
self.handle.expect( self.prompt )
handleBefore = self.handle.before