Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/truffle/subjects/one-request.rb
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
require 'open-uri'
require 'webrick'

Thread.new do
request = Thread.new do
loop do
begin
open('http://localhost:8000/hello').read
@@ -33,3 +33,4 @@
end

server.start
request.join

0 comments on commit 4b7109d

Please sign in to comment.