1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Remove extra assert_nil in Rinda tests

* They are never executed since thread_join() raises.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eregon 2017-12-12 18:44:33 +00:00
parent 6671a826ac
commit 967eab83e3

View file

@ -359,7 +359,7 @@ module TupleSpaceTestModule
sleep(2)
assert_raise(Rinda::RequestCanceledError) do
assert_nil(thread_join(taker))
thread_join(taker)
end
assert(template.canceled?)
@ -388,7 +388,7 @@ module TupleSpaceTestModule
sleep(2)
assert_raise(Rinda::RequestCanceledError) do
assert_nil(thread_join(reader))
thread_join(reader)
end
assert(template.canceled?)
@ -844,4 +844,3 @@ class TestRingFinger < Test::Unit::TestCase
end
end