diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 23530512..39ca9564 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest env: FERRUM_PROCESS_TIMEOUT: 25 - FERRUM_DEFAULT_TIMEOUT: 15 + FERRUM_DEFAULT_TIMEOUT: 25 BUNDLE_GEMFILE: .github/gemfiles/${{ matrix.gemfile }}.gemfile steps: - name: Checkout code diff --git a/spec/unit/process_spec.rb b/spec/unit/process_spec.rb index 8fde4395..0a32bd2d 100644 --- a/spec/unit/process_spec.rb +++ b/spec/unit/process_spec.rb @@ -3,7 +3,7 @@ describe Ferrum::Browser::Process do subject { Ferrum::Browser.new(port: 6000, host: "127.0.0.1") } - unless Ferrum::Utils::Platform.windows? + unless Ferrum::Utils::Platform.windows? && !Ferrum::Utils::Platform.jruby? it "forcibly kills the child if it does not respond to SIGTERM" do allow(Process).to receive(:spawn).and_return(5678) allow(Process).to receive(:wait).and_return(nil)