saucelabs-adapter 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/saucelabs_adapter/tunnels/ssh_tunnel.rb +3 -12
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.8.
|
1
|
+
0.8.2
|
@@ -14,18 +14,9 @@ module SaucelabsAdapter
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def shutdown
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
@gateway.close(@port) if @port
|
21
|
-
@gateway.shutdown! if @gateway
|
22
|
-
rescue => e
|
23
|
-
say "Error shutting down ssh reverse tunnel: #{e.message}"
|
24
|
-
say e.backtrace
|
25
|
-
# Do not raise an error if tunnel shutdown failed; we don't want to abort the whole test suite; and it is all in transient memory anyway
|
26
|
-
# This could potentially be a problem when opening an SshTunnel multiple times during a single interpreter, but we'll see...
|
27
|
-
end
|
28
|
-
end
|
17
|
+
return
|
18
|
+
# just return; tunnel is all in transient memory, and we don't want to hang or abort the whole test suite anyway
|
19
|
+
# This could potentially be a problem when opening an SshTunnel multiple times during a single interpreter, but we'll see...
|
29
20
|
end
|
30
21
|
|
31
22
|
end
|