fix test failure on case900 - getting onos exception logs
Change-Id: I3ec95c5e9d420ee0377765c20d4481058674910e
diff --git a/TestON/tests/PLATdockertest/PLATdockertest.py b/TestON/tests/PLATdockertest/PLATdockertest.py
index f2b1e65..f56ae70 100755
--- a/TestON/tests/PLATdockertest/PLATdockertest.py
+++ b/TestON/tests/PLATdockertest/PLATdockertest.py
@@ -245,13 +245,13 @@
main.step("check onos for any exceptions")
for ip in IPlist:
- spawncmd = "ssh -p 8101 " + user + "@" + ip
+ spawncmd = "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 8101 " + user + "@" + ip
main.log.info("log on node using cmd: " + spawncmd)
try:
handle = pexpect.spawn(spawncmd)
- handle.expect("yes/no")
- handle.sendline("yes")
- print("yes is sent")
+ #handle.expect("yes/no")
+ #handle.sendline("yes")
+ #print("yes is sent")
#this extra statement is sent to get around some
#pexpect issue of not seeing the next expected string
handle.expect("Password:")