Skip to content

Commit

Permalink
test_cat: use proper protocol in unused_port method (#4686) (#4793)
Browse files Browse the repository at this point in the history
**Which issue(s) this PR fixes**: 

Backport #4686

**What this PR does / why we need it**: 

Fixes an issue where an inappropriate protocol was specified in the
unused_port method.
See
#4674 (comment)

**Docs Changes**:

**Release Note**:

Signed-off-by: Watson <[email protected]>
Signed-off-by: Kentaro Hayashi <[email protected]>
Co-authored-by: Watson <[email protected]>
Co-authored-by: Daijiro Fukuda <[email protected]>
  • Loading branch information
3 people authored Jan 29, 2025
1 parent 0b2126a commit 0ae4094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/command/test_cat.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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: :all)
end

def teardown
Expand Down

0 comments on commit 0ae4094

Please sign in to comment.