diff options
Diffstat (limited to 'spec/lib/gitlab/memory/watchdog/event_reporter_spec.rb')
-rw-r--r-- | spec/lib/gitlab/memory/watchdog/event_reporter_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/lib/gitlab/memory/watchdog/event_reporter_spec.rb b/spec/lib/gitlab/memory/watchdog/event_reporter_spec.rb index f667bc724d2..f1d241249e2 100644 --- a/spec/lib/gitlab/memory/watchdog/event_reporter_spec.rb +++ b/spec/lib/gitlab/memory/watchdog/event_reporter_spec.rb @@ -106,11 +106,12 @@ RSpec.describe Gitlab::Memory::Watchdog::EventReporter, feature_category: :appli it 'logs violation' do expect(logger).to receive(:warn) - .with( + .with({ pid: Process.pid, worker_id: 'worker_1', memwd_rss_bytes: 1024, - message: 'dummy_text') + message: 'dummy_text' + }) subject end |