1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

[CI] Update actions, fix intermittent test error (#2801)

* Update Actions

* TestIntegrationPumactl#test_phased_restart_cluster - time to 6

Fixes rare failures on Ubuntu 18.04
This commit is contained in:
MSP-Greg 2022-01-17 09:07:57 -06:00 committed by GitHub
parent 5f255fcd13
commit aec9fb315a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -44,14 +44,14 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: load ruby - name: load ruby
uses: MSP-Greg/setup-ruby-pkgs@win-ucrt-2 uses: MSP-Greg/setup-ruby-pkgs@v1
with: with:
ruby-version: ${{ matrix.ruby }} ruby-version: ${{ matrix.ruby }}
apt-get: ragel apt-get: ragel
brew: ragel brew: ragel
mingw: openssl ragel mingw: openssl ragel
bundler-cache: true bundler-cache: true
setup-ruby-ref: MSP-Greg/ruby-setup-ruby/win-ucrt-1 setup-ruby-ref: MSP-Greg/ruby-setup-ruby/gem-update
timeout-minutes: 10 timeout-minutes: 10
# Windows error thrown, doesn't affect CI # Windows error thrown, doesn't affect CI

View file

@ -89,7 +89,7 @@ class TestIntegrationPumactl < TestIntegration
_, status = Process.wait2(@pid) _, status = Process.wait2(@pid)
assert_equal 0, status assert_equal 0, status
assert_operator Time.now - start, :<, (DARWIN ? 8 : 5) assert_operator Time.now - start, :<, (DARWIN ? 8 : 6)
@server = nil @server = nil
end end