Skip to content

Commit

Permalink
fix to use unused port instead of fixed one
Browse files Browse the repository at this point in the history
  • Loading branch information
tagomoris committed Aug 31, 2016
1 parent 145c17a commit 2d94bdd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/plugin/test_in_monitor_agent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,11 @@ def test_configure
end

test "emit" do
port = unused_port
d = create_driver("
@type monitor_agent
bind '127.0.0.1'
port 24200
port #{port}
tag monitor
emit_interval 1
")
Expand Down

0 comments on commit 2d94bdd

Please sign in to comment.