diff options
-rw-r--r-- | test/lib_server_accept.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/lib_server_accept.rb b/test/lib_server_accept.rb index ccf89d8..ff0f733 100644 --- a/test/lib_server_accept.rb +++ b/test/lib_server_accept.rb @@ -47,7 +47,7 @@ module LibServerAccept elapsed = Time.now - t0 assert_kind_of Kgio::Socket, b assert_equal @host, b.kgio_addr - Process.kill(:TERM, pid) + Process.kill(:KILL, pid) Process.waitpid(pid) assert elapsed >= 1, "elapsed: #{elapsed}" end @@ -60,7 +60,7 @@ module LibServerAccept elapsed = Time.now - t0 assert_kind_of Kgio::Socket, b assert_equal @host, b.kgio_addr - Process.kill(:TERM, pid) + Process.kill(:KILL, pid) Process.waitpid(pid) assert elapsed >= 1, "elapsed: #{elapsed}" @@ -70,7 +70,7 @@ module LibServerAccept elapsed = Time.now - t0 assert_kind_of Kgio::Socket, b assert_equal @host, b.kgio_addr - Process.kill(:TERM, pid) + Process.kill(:KILL, pid) Process.waitpid(pid) assert elapsed >= 6, "elapsed: #{elapsed}" @@ -80,7 +80,7 @@ module LibServerAccept elapsed = Time.now - t0 assert_kind_of Kgio::Socket, b assert_equal @host, b.kgio_addr - Process.kill(:TERM, pid) + Process.kill(:KILL, pid) Process.waitpid(pid) assert elapsed >= 1, "elapsed: #{elapsed}" end |