From c806fa9046c83f87b406eef5f99fa9ed145d8945 Mon Sep 17 00:00:00 2001 From: abetomo Date: Thu, 9 Feb 2023 23:58:12 +0900 Subject: [PATCH] delete unnecessary files by `instance_shutdown` Files created in `/tmp` are deleted. Signed-off-by: abetomo --- test/plugin/test_in_tcp.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/plugin/test_in_tcp.rb b/test/plugin/test_in_tcp.rb index b85a919c94..69d6bc302e 100755 --- a/test/plugin/test_in_tcp.rb +++ b/test/plugin/test_in_tcp.rb @@ -226,6 +226,8 @@ def create_tcp_socket(host, port, &block) assert_equal 1, d.instance.log.logs.count { |l| l =~ /anonymous client/ } assert_equal 0, d.events.size + + d.instance_shutdown end end