summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2022-05-25 18:01:01 -0700
committerGitHub <noreply@github.com>2022-05-26 13:01:01 +1200
commit2f01891659a1a2a0a9d04ecb349ead5c0bf0d236 (patch)
tree516c7281292585b96466ac4e92f5fe7574e58026 /test
parentd866dc42f5d886d94b91eacba9f7da8ba72e66ce (diff)
downloadrack-2f01891659a1a2a0a9d04ecb349ead5c0bf0d236.tar.gz
Skip a test that is flaky on JRuby (#1901)
It's already skipped on Ruby 2.4 and 2.5, so it's not like we expect this to pass in all cases anyway. If it is fixed on JRuby, we can renable. But it's better to not generate false negatives in CI for unrelated changes.
Diffstat (limited to 'test')
-rw-r--r--test/spec_server.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/spec_server.rb b/test/spec_server.rb
index 5bd974c7..d9adcd36 100644
--- a/test/spec_server.rb
+++ b/test/spec_server.rb
@@ -522,7 +522,7 @@ describe Rack::Server do
Process.kill(:INT, $$)
t.join
open(pidfile.path) { |f| f.read.must_equal $$.to_s }
- end if RUBY_VERSION >= "2.6"
+ end if RUBY_VERSION >= "2.6" && RUBY_ENGINE == "ruby"
it "check pid file presence and running process" do
pidfile = Tempfile.open('pidfile') { |f| f.write($$); break f }.path