From d4114ba9413f539f2672572d7eb45f6b70e0ccbe Mon Sep 17 00:00:00 2001 From: Watson Date: Mon, 28 Oct 2024 13:30:46 +0900 Subject: [PATCH 1/2] test_cat: use proper protocol in unused_port method Signed-off-by: Watson --- test/command/test_cat.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/command/test_cat.rb b/test/command/test_cat.rb index f1e1067823..b2e9cce5cd 100644 --- a/test/command/test_cat.rb +++ b/test/command/test_cat.rb @@ -18,7 +18,7 @@ def setup @primary = create_primary metadata = @primary.buffer.new_metadata @chunk = create_chunk(@primary, metadata, @es) - @port = unused_port(protocol: :tcp) + @port = unused_port(protocol: :udp) end def teardown From 55b3fdc16d6d8ac6f2379d7308b92bfa574565dd Mon Sep 17 00:00:00 2001 From: Watson Date: Mon, 28 Oct 2024 16:41:54 +0900 Subject: [PATCH 2/2] test_cat: fix protocol Co-authored-by: Daijiro Fukuda Signed-off-by: Watson --- test/command/test_cat.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/command/test_cat.rb b/test/command/test_cat.rb index b2e9cce5cd..40605815bb 100644 --- a/test/command/test_cat.rb +++ b/test/command/test_cat.rb @@ -18,7 +18,7 @@ def setup @primary = create_primary metadata = @primary.buffer.new_metadata @chunk = create_chunk(@primary, metadata, @es) - @port = unused_port(protocol: :udp) + @port = unused_port(protocol: :all) end def teardown