Commit db9e5bf7 authored by Pawel Chojnacki's avatar Pawel Chojnacki

fix test case description

parent 51668d3e
...@@ -39,7 +39,7 @@ describe Gitlab::Metrics::MethodCall do ...@@ -39,7 +39,7 @@ describe Gitlab::Metrics::MethodCall do
expect(Feature.get(:prometheus_metrics_method_instrumentation)).to have_received(:enabled?).once expect(Feature.get(:prometheus_metrics_method_instrumentation)).to have_received(:enabled?).once
end end
it 'expires feature check cache after 30 seconds' do it 'expires feature check cache after 1 minute' do
method_call.measure { 'foo' } method_call.measure { 'foo' }
Timecop.travel(1.minute.from_now) do Timecop.travel(1.minute.from_now) do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment