Commit fd556121 authored by Mike Hibler's avatar Mike Hibler
Browse files

Put a connection timeout on the ssh to the tipserv node.

So we don't hang forever if the tipserver is down.
parent 94eb686d
#!/usr/bin/perl -wT
# Copyright (c) 2000-2011 University of Utah and the Flux Group.
# Copyright (c) 2000-2013 University of Utah and the Flux Group.
......@@ -50,7 +50,14 @@ use libtestbed;
# Turn off line buffering on output
$| = 1;
my $SSH = "$TB/bin/sshtb -n ";
# We put a timeout on the SSH commands. If they fail, it probably means
# the tipserver is screwed up or dead. This is bad, but the experiment
# can continue without it so don't hang. We include the Protocol=2 spec
# so we don't try twice which would double the effective timeout wait.
my $SSH = "$TB/bin/sshtb -o ConnectTimeout=5 -o Protocol=2 -n ";
my $PROG = "/usr/testbed/sbin/console_setup.proxy";
my %cmdargs = ();
my @row;
Supports Markdown
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