Skip to content

Commit

Permalink
Update tests and increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
jemelyah committed Oct 10, 2023
1 parent 31f56ab commit 191a9f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/process_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 191a9f4

Please sign in to comment.