git://git.onelab.eu
/
tests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c658deb
)
(no commit message)
author
Sapan Bhatia
<sapanb@cs.princeton.edu>
Mon, 26 Jan 2009 19:59:08 +0000
(19:59 +0000)
committer
Sapan Bhatia
<sapanb@cs.princeton.edu>
Mon, 26 Jan 2009 19:59:08 +0000
(19:59 +0000)
qaapi/qa/tests/node/vsys_launch.pl
patch
|
blob
|
history
diff --git
a/qaapi/qa/tests/node/vsys_launch.pl
b/qaapi/qa/tests/node/vsys_launch.pl
index
f9fb954
..
47eee8e
100755
(executable)
--- a/
qaapi/qa/tests/node/vsys_launch.pl
+++ b/
qaapi/qa/tests/node/vsys_launch.pl
@@
-12,6
+12,13
@@
else {
$prefix="pl";
}
+my $timeout=600;
+
+until ((-f "/var/run/vservers/pl_netflow" && -d "/home/pl_netflow") || ($timeout==0)) {sleep (15);print "Waiting for pl_netflow to show up...\n";$timeout-=15;}
+
+if (!$timeout) {
+ die ("Timed out waiting for pl_netflow to appear\n");
+}
my $slice="$prefix"."_netflow";
my $slicedir="/vservers/$slice";