about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-04-30 00:02:01 +0000
committerEric Wong <normalperson@yhbt.net>2013-04-30 00:02:01 +0000
commitb7221617908d5cd73da17c11beb7ef96b12e7fa5 (patch)
treeafd23cbeeee143a48b2f5587d278ec097ae8f7ca
parentda07e5676040d543c33720efae19f2a70e766a39 (diff)
downloadsleepy_penguin-b7221617908d5cd73da17c11beb7ef96b12e7fa5.tar.gz
We want to avoid closing the descriptor while the thread
is running.
-rw-r--r--test/test_epoll.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_epoll.rb b/test/test_epoll.rb
index 5bf332f..af70fa2 100644
--- a/test/test_epoll.rb
+++ b/test/test_epoll.rb
@@ -201,6 +201,7 @@ class TestEpoll < Test::Unit::TestCase
     assert thr.alive?
     thr.kill
     assert tmp.empty?
+    thr.join
   end
 
   def test_rdhup