Skip to content
Snippets Groups Projects
Commit 916893b6 authored by Alexander Polcyn's avatar Alexander Polcyn
Browse files

fix up the test

parent fd4cbb70
No related branches found
No related tags found
No related merge requests found
......@@ -61,16 +61,15 @@ def run_gc_stress_test(test_proc)
end
def run_concurrency_stress_test(test_proc)
test_proc.call
thds = []
100.times do
thds << Thread.new do
Thread.new do
test_proc.call
end
end
raise "something"
test_proc.call
raise 'exception thrown while child thread initing class'
end
# default (no gc_stress and no concurrency_stress)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment