diff options
Diffstat (limited to 'spec/lib/gitlab/prometheus/queries/knative_invocation_query_spec.rb')
-rw-r--r-- | spec/lib/gitlab/prometheus/queries/knative_invocation_query_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/prometheus/queries/knative_invocation_query_spec.rb b/spec/lib/gitlab/prometheus/queries/knative_invocation_query_spec.rb index ad254d3c50a..8eefd22bd29 100644 --- a/spec/lib/gitlab/prometheus/queries/knative_invocation_query_spec.rb +++ b/spec/lib/gitlab/prometheus/queries/knative_invocation_query_spec.rb @@ -22,7 +22,7 @@ describe Gitlab::Prometheus::Queries::KnativeInvocationQuery do it 'has the query, but no data' do expect(client).to receive(:query_range).with( 'sum(ceil(rate(istio_requests_total{destination_service_namespace="test-ns", destination_service=~"test-name.*"}[1m])*60))', - hash_including(:start, :stop) + hash_including(:start_time, :end_time) ) subject.query(serverless_func.id) |