diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-19 21:09:58 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-19 21:09:58 +0300 |
commit | 2a6df7f21e786ddbbedc664a54f6116589475477 (patch) | |
tree | 916d64753247a2400cdee6676754e0637660bfeb /spec/lib | |
parent | 25ed642226db28550270b850280462dad124fd61 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib')
-rw-r--r-- | spec/lib/gitlab/sidekiq_logging/structured_logger_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/lib/gitlab/sidekiq_logging/structured_logger_spec.rb b/spec/lib/gitlab/sidekiq_logging/structured_logger_spec.rb index 4e46a26e89f..4550ccc2fff 100644 --- a/spec/lib/gitlab/sidekiq_logging/structured_logger_spec.rb +++ b/spec/lib/gitlab/sidekiq_logging/structured_logger_spec.rb @@ -463,11 +463,12 @@ RSpec.describe Gitlab::SidekiqLogging::StructuredLogger do let(:expected_end_payload) do end_payload.merge( 'urgency' => 'high', - 'target_duration_s' => 10 + 'target_duration_s' => 10, + 'target_scheduling_latency_s' => 10 ) end - it 'logs job done with urgency and target_duration_s fields' do + it 'logs job done with urgency, target_duration_s and target_scheduling_latency_s fields' do travel_to(timestamp) do expect(logger).to receive(:info).with(start_payload).ordered expect(logger).to receive(:info).with(expected_end_payload).ordered |