Commit 257713f6 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Change wait time for jailed nodes to setup from fixed 180 seconds, to

120 + (30 * number_of_vnodes).
parent 6df49baa
......@@ -632,6 +632,7 @@ elsif (@vnodelist) {
foreach my $node (@vnodelist) {
$waitstart{$node} = time;
}
my $maxwait = 120 + (30 * scalar(@vnodelist));
print "Waiting for virtual testbed nodes to finish setting up ...\n";
......@@ -640,7 +641,7 @@ elsif (@vnodelist) {
my $node = shift(@vnodelist);
my $wstart = $waitstart{$node};
if (!TBNodeStateWait($node, TBDB_NODESTATE_ISUP, $wstart, (60*3))) {
if (!TBNodeStateWait($node, TBDB_NODESTATE_ISUP, $wstart, $maxwait)) {
print "$node is alive and well\n";
SetNodeBootStatus($node, NODEBOOTSTATUS_OKAY);
next;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment