From 8363535e60242f75fc84d7cfc83e36dda40d0fe1 Mon Sep 17 00:00:00 2001 From: Sapan Bhatia Date: Mon, 26 Jan 2009 19:59:08 +0000 Subject: [PATCH] --- qaapi/qa/tests/node/vsys_launch.pl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/qaapi/qa/tests/node/vsys_launch.pl b/qaapi/qa/tests/node/vsys_launch.pl index f9fb954..47eee8e 100755 --- 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"; -- 2.43.0