fix up the test

pull/11054/head
Alexander Polcyn 8 years ago
parent fd4cbb7077
commit 916893b618
  1. 9
      src/ruby/end2end/grpc_class_init_client.rb

@ -61,16 +61,15 @@ def run_gc_stress_test(test_proc)
end end
def run_concurrency_stress_test(test_proc) def run_concurrency_stress_test(test_proc)
test_proc.call
thds = []
100.times do 100.times do
thds << Thread.new do Thread.new do
test_proc.call test_proc.call
end end
end end
raise "something" test_proc.call
raise 'exception thrown while child thread initing class'
end end
# default (no gc_stress and no concurrency_stress) # default (no gc_stress and no concurrency_stress)

Loading…
Cancel
Save