Browse files

more timeout adjustment

  • Loading branch information...
1 parent 4d0b6d7 commit 1a6f1dd1b9859007a1b6566e073d8b34622c967b @buzztroll buzztroll committed Jun 14, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/cc-prop2-test.py
View
4 tests/cc-prop2-test.py
@@ -17,7 +17,7 @@
except:
pass
cmd = "%s/bin/cloud-client.sh --transfer --sourcefile %s" % (cc_home, tst_image_src)
-(x, rc)=pexpect.run(cmd, withexitstatus=1, logfile=logfile)
+(x, rc)=pexpect.run(cmd, withexitstatus=1, logfile=logfile, timeout=to)
cmd = "%s/bin/cloud-client.sh --run --name %s --hours .25" % (cc_home, tst_image_name)
child = pexpect.spawn (cmd, timeout=to, maxread=20000, logfile=logfile)
@@ -39,7 +39,7 @@
print "failed to save"
sys.exit(1)
cmd = "%s/bin/cloud-client.sh --list" % (cc_home)
-(x, rc)=pexpect.run(cmd, withexitstatus=1, logfile=logfile)
+(x, rc)=pexpect.run(cmd, withexitstatus=1, logfile=logfile, timeout=to)
cmd = "%s/bin/cloud-client.sh --download --name %s --localfile %s" % (cc_home, newname, newname)
print cmd
(x, rc)=pexpect.run(cmd, withexitstatus=1, logfile=logfile, timeout=to)

0 comments on commit 1a6f1dd

Please sign in to comment.