From e2bc83fb6f04cb7d69c3892c359af6f281efcf73 Mon Sep 17 00:00:00 2001 From: shalper2 Date: Tue, 20 Feb 2024 11:40:25 -0600 Subject: [PATCH] fixed scraper test --- receiver/splunkenterprisereceiver/scraper_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/receiver/splunkenterprisereceiver/scraper_test.go b/receiver/splunkenterprisereceiver/scraper_test.go index 42ecd5fe692b2..08086a6a3ee1e 100644 --- a/receiver/splunkenterprisereceiver/scraper_test.go +++ b/receiver/splunkenterprisereceiver/scraper_test.go @@ -53,9 +53,9 @@ func createMockServer() *httptest.Server { switch r.URL.String() { case "/services/server/introspection/indexer?output_mode=json": mockIndexerThroughput(w, r) - case "/services/data/indexes-extended": + case "/services/data/indexes-extended?output_mode=json&count=-1": mockIndexesExtended(w, r) - case "/services/server/introspection/queues": + case "/services/server/introspection/queues?output_mode=json&count=-1": mockIntrospectionQueues(w, r) default: http.NotFoundHandler().ServeHTTP(w, r)