summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMiklós Fazekas <mfazekas@szemafor.com>2021-03-15 16:36:59 +0100
committerMiklós Fazekas <mfazekas@szemafor.com>2021-08-04 08:07:31 +0200
commit70b4404f1663907ea4a8c1e136a268f719778b5d (patch)
treeb0b1dffdf59ce79fcb9d99a39da2017b9f8a1635 /test
parentf13aac201d03b45d01220119153a6928f7561c75 (diff)
downloadnet-ssh-70b4404f1663907ea4a8c1e136a268f719778b5d.tar.gz
Fix forward test
Diffstat (limited to 'test')
-rw-r--r--test/integration/test_forward.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/test_forward.rb b/test/integration/test_forward.rb
index c7f38fc..3b1619c 100644
--- a/test/integration/test_forward.rb
+++ b/test/integration/test_forward.rb
@@ -427,7 +427,7 @@ class TestForward < ForwardTestBase
got_remote_port = Queue.new
local_port = server.addr[1]
puts "LOCAL PORT: #{local_port}"
- session.forward.remote(0, localhost, local_port, localhost) do |actual_remote_port|
+ session.forward.remote(local_port, localhost, 0, localhost) do |actual_remote_port|
got_remote_port << actual_remote_port
end
session.loop(0.1) { got_remote_port.empty? }