Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec/lib
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-07-19 21:09:58 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-07-19 21:09:58 +0300
commit2a6df7f21e786ddbbedc664a54f6116589475477 (patch)
tree916d64753247a2400cdee6676754e0637660bfeb /spec/lib
parent25ed642226db28550270b850280462dad124fd61 (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.rb5
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