Skip to content
Snippets Groups Projects

Fix Service Ping manage events monthly metric

All threads resolved!
1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
@@ -211,6 +211,9 @@
@@ -211,6 +211,9 @@
create(:event)
create(:event)
end
end
 
stub_const('Gitlab::Database::PostgresHll::BatchDistinctCounter::DEFAULT_BATCH_SIZE', 1)
 
stub_const('Gitlab::Database::PostgresHll::BatchDistinctCounter::MIN_REQUIRED_BATCH_SIZE', 0)
 
expect(described_class.usage_activity_by_stage_manage({})).to include(
expect(described_class.usage_activity_by_stage_manage({})).to include(
events: -1,
events: -1,
groups: 2,
groups: 2,
Loading