summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2021-02-28 12:24:42 +0100
committerBenoit Daloze <eregontp@gmail.com>2021-02-28 12:24:42 +0100
commit80e2c45f5560a2e44fb3949c5c3f5a11508f6043 (patch)
treec03cf72ead72c2eddf8624c1583a886b6bf51ac8
parent5c9079759d6ced219d1c0335f780d395449b3cba (diff)
Skip spec which does not work on mingw
* https://github.com/ruby/ruby/runs/1994688198 ruby 3.1.0dev (2021-02-27T16:42:17Z master 8305a48413) [x64-mingw32] C-API Thread function rb_thread_call_without_gvl runs a C function with the global lock unlocked and unlocks IO with the generic RUBY_UBF_IO Example took longer than the configured timeout of 60.0s
-rw-r--r--spec/ruby/optional/capi/thread_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/optional/capi/thread_spec.rb b/spec/ruby/optional/capi/thread_spec.rb
index 3b788122ac..30e29681eb 100644
--- a/spec/ruby/optional/capi/thread_spec.rb
+++ b/spec/ruby/optional/capi/thread_spec.rb
@@ -155,7 +155,7 @@ describe "C-API Thread function" do
end
end
- guard_not -> { platform_is :mingw and ruby_version_is ""..."2.7" } do
+ platform_is_not :mingw do
it "runs a C function with the global lock unlocked and unlocks IO with the generic RUBY_UBF_IO" do
thr = Thread.new do
@t.rb_thread_call_without_gvl_with_ubf_io