Sha256: 509e378a88c7e28fff4706bb795932c4b9938452907b44e830717a0a9ed99492

Contents?: true

Size: 367 Bytes

Versions: 2

Compression:

Stored size: 367 Bytes

Contents

system "ruby -rubygems -I../../lib ../../bin/pumactl -F t2_conf.rb start"
sleep 5
system "curl http://localhost:10103/"

system "ruby -rubygems -I../../lib ../../bin/pumactl -F t2_conf.rb stop"

sleep 1

log = File.read("t2-stdout")

File.unlink "t2-stdout" if File.file? "t2-stdout"

if log =~ %r(GET / HTTP/1\.1) && !File.file?("t2-pid")
  exit 0
else
  exit 1
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
puma-simon-3.7.2 test/shell/t2.rb
puma-simon-3.7.1 test/shell/t2.rb