diff --git a/test/plugin/test_in_monitor_agent.rb b/test/plugin/test_in_monitor_agent.rb index d640964dce..f201d92f89 100644 --- a/test/plugin/test_in_monitor_agent.rb +++ b/test/plugin/test_in_monitor_agent.rb @@ -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 ")