Description
Hi,
We are upgrading to logstash v9.0.1 and there is issue observed in unit-test in pipeline.
But locally, there are no issues observed during build or unit-test.
Only in pipeline, unit-test is being failed.
And the errors are mostly related to Logstash::Runner
Below is the example of error.
`LogStash::Runner pipeline settings config.debug should allow overriding config.debug
Failure/Error:
expect(LogStash::Agent).to receive(:new) do |settings|
expect(settings.get("config.debug")).to eq(true)
end
(LogStash::Agent (class)).new(*(any args))
expected: 1 time with any arguments
received: 0 times with any arguments
./logstash-core/spec/logstash/runner_spec.rb:335:in `block in
'./vendor/bundle/jruby/3.1.0/gems/webmock-3.25.1/lib/webmock/rspec.rb:39:in `block in
'./spec/spec_helper.rb:84:in `block in
'./logstash-core/lib/logstash/util.rb:43:in `set_thread_name'
./spec/spec_helper.rb:83:in `block in
'./spec/spec_helper.rb:76:in `block in
'./vendor/bundle/jruby/3.1.0/gems/logstash-devutils-2.6.2-java/lib/logstash/devutils/rspec/spec_helper.rb:47:in `block in
'./lib/bootstrap/rspec.rb:36:in <main>'
Similarly, 22 test failures are observed.
Can you please let us know your suggestions.
Thanks & regards,
Sunanda N.