Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flaky test in JRuby test matrix entry #502

Open
halfbyte opened this issue Oct 25, 2023 · 0 comments
Open

Flaky test in JRuby test matrix entry #502

halfbyte opened this issue Oct 25, 2023 · 0 comments
Assignees

Comments

@halfbyte
Copy link
Contributor

See failed action run on master

This usually gets green on first retry.

Here's the test output:

1) Honeybadger::Worker#shutdown when throttled during shutdown warns the logger when the queue has additional items
     Failure/Error: expect(config.logger).to receive(:warn).with(/throttled/i)

       (#<Honeybadger::Logging::ConfigLogger:0x1e95fc31 @tty_level=0, @config=#<Honeybadger::Config:0x395ac2e5 @ruby={:logger=>#<Logger:0x4a2891d1 @default_formatter=#<Logger::Formatter:0x7b6d88d1 @datetime_format=nil>, @level=0, @progname=nil, @formatter=nil, @logdev=#<Logger::LogDevice:0x14cf30b3 @shift_age=0, @shift_period_suffix="%Y%m%d", @filename="/dev/null", @dev=#<File:/dev/null>, @mon_mutex=#<Thread::Mutex:0x38159192>, @shift_size=1048576, @mon_owner=nil, @mon_count=0>>, :debug=>true, :backend=>"null"}, @env={}, @framework={}, @logger=#<Honeybadger::Logging::ConfigLogger:0x363d3958 @tty_level=0, @config=#<Honeybadger::Config:0x395ac2e5 ...>, @logger=#<Logger:0x4a2891d1 @default_formatter=#<Logger::Formatter:0x7b6d88d1 @datetime_format=nil>, @level=0, @progname=nil, @formatter=nil, @logdev=#<Logger::LogDevice:0x14cf30b3 @shift_age=0, @shift_period_suffix="%Y%m%d", @filename="/dev/null", @dev=#<File:/dev/null>, @mon_mutex=#<Thread::Mutex:0x38159192>, @shift_size=1048576, @mon_owner=nil, @mon_count=0>>, @tty=false>, @yaml={}, @backend=#<Honeybadger::Backend::Null:0x2181144e @config=#<Honeybadger::Config:0x395ac2e5 ...>>>, @logger=#<Logger:0x4a2891d1 @default_formatter=#<Logger::Formatter:0x7b6d88d1 @datetime_format=nil>, @level=0, @progname=nil, @formatter=nil, @logdev=#<Logger::LogDevice:0x14cf30b3 @shift_age=0, @shift_period_suffix="%Y%m%d", @filename="/dev/null", @dev=#<File:/dev/null>, @mon_mutex=#<Thread::Mutex:0x38159192>, @shift_size=1048576, @mon_owner=nil, @mon_count=0>>, @tty=false>).warn(/throttled/i)
           expected: 1 time with arguments: (/throttled/i)
           received: 0 times
     # ./spec/unit/honeybadger/worker_spec.rb:243:in `block in <main>'
     # ./vendor/bundle/jruby/2.5.0/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block in /home/runner/work/honeybadger-ruby/honeybadger-ruby/vendor/bundle/jruby/2.5.0/gems/webmock-3.19.1/lib/webmock/rspec.rb'
     # ./vendor/bundle/jruby/2.5.0/gems/aruba-2.1.0/lib/aruba/rspec.rb:38:in `block in /home/runner/work/honeybadger-ruby/honeybadger-ruby/vendor/bundle/jruby/2.5.0/gems/aruba-2.1.0/lib/aruba/rspec.rb'
     # ./vendor/bundle/jruby/2.5.0/gems/aruba-2.1.0/lib/aruba/rspec.rb:25:in `block in /home/runner/work/honeybadger-ruby/honeybadger-ruby/vendor/bundle/jruby/2.5.0/gems/aruba-2.1.0/lib/aruba/rspec.rb'
@halfbyte halfbyte self-assigned this Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant