Skip to content

Commit 191a9f4

Browse files
committed
Update tests and increase timeout
1 parent 31f56ab commit 191a9f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
env:
1818
FERRUM_PROCESS_TIMEOUT: 25
19-
FERRUM_DEFAULT_TIMEOUT: 15
19+
FERRUM_DEFAULT_TIMEOUT: 25
2020
BUNDLE_GEMFILE: .github/gemfiles/${{ matrix.gemfile }}.gemfile
2121
steps:
2222
- name: Checkout code

spec/unit/process_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
describe Ferrum::Browser::Process do
44
subject { Ferrum::Browser.new(port: 6000, host: "127.0.0.1") }
55

6-
unless Ferrum::Utils::Platform.windows?
6+
unless Ferrum::Utils::Platform.windows? && !Ferrum::Utils::Platform.jruby?
77
it "forcibly kills the child if it does not respond to SIGTERM" do
88
allow(Process).to receive(:spawn).and_return(5678)
99
allow(Process).to receive(:wait).and_return(nil)

0 commit comments

Comments
 (0)