                f.flock(File::LOCK_SH)
              end
            end
-@@ -1342,7 +1345,8 @@ def test_flock_shared
+@@ -1342,7 +1344,8 @@ def test_flock_shared
        assert_separately(["-rtimeout", "-", regular_file], "#{<<~begin}#{<<~"end;"}")
        begin
          open(ARGV[0], "r") do |f|

             assert(f.flock(File::LOCK_SH))
           end
         end
@@ -1351,7 +1355,8 @@ def test_flock_shared
       begin
         open(ARGV[0], "r+") do |f|
           assert_raise(Timeout::Error) do

Patch by MSP-Greg
lengtens timeouts for Appveyor parallel testing
diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb
index 4c5540eb4c..e3b59bc34b 100644
--- a/test/ruby/test_file_exhaustive.rb
+++ b/test/ruby/test_file_exhaustive.rb
@@ -1316,7 +1316,8 @@ def test_flock_exclusive
       assert_separately(["-rtimeout", "-", regular_file], "#{<<~begin}#{<<~"end;"}")
       begin
         open(ARGV[0], "r") do |f|
