saucelabs-adapter 0.8.1 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|