Merge branch 'ONOS-Next' of https://github.com/OPENNETWORKINGLAB/ONLabTest into ONOS-Next
diff --git a/TestON/drivers/common/cli/onosclidriver.py b/TestON/drivers/common/cli/onosclidriver.py
index 76c7e87..cf9029c 100644
--- a/TestON/drivers/common/cli/onosclidriver.py
+++ b/TestON/drivers/common/cli/onosclidriver.py
@@ -440,14 +440,10 @@
if not grep_str:
self.handle.sendline("devices")
self.handle.expect("onos>")
- self.handle.sendline("")
- self.handle.expect("onos>")
else:
self.handle.sendline("devices | grep '"+
str(grep_str)+"'")
self.handle.expect("onos>")
- self.handle.sendline("")
- self.handle.expect("onos>")
handle = self.handle.before
print "handle =",handle
return handle
@@ -1028,7 +1024,6 @@
# append to id_list
for arg in temp_list:
id_list.append(arg.split("id=")[1])
-
return id_list
except pexpect.EOF:
diff --git a/TestON/drivers/common/cli/onosdriver.py b/TestON/drivers/common/cli/onosdriver.py
index 2e7ffa3..f22f064 100644
--- a/TestON/drivers/common/cli/onosdriver.py
+++ b/TestON/drivers/common/cli/onosdriver.py
@@ -662,7 +662,7 @@
"Job\sis\salready\srunning",
"start/running",
"Unknown\sinstance",
- pexpect.TIMEOUT],timeout=60)
+ pexpect.TIMEOUT],timeout=120)
if i == 0:
main.log.info("Service is already running")