From d096db8260ecb4fc3aa680d0685d995c456f8446 Mon Sep 17 00:00:00 2001 From: alex60217101990 Date: Tue, 25 Jan 2022 18:00:55 +0200 Subject: [PATCH] fix TestPredictKubeParseMetadata Signed-off-by: alex60217101990 --- pkg/scalers/predictkube_scaler_test.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkg/scalers/predictkube_scaler_test.go b/pkg/scalers/predictkube_scaler_test.go index e47ece4e6d9..412be7facc4 100644 --- a/pkg/scalers/predictkube_scaler_test.go +++ b/pkg/scalers/predictkube_scaler_test.go @@ -122,11 +122,6 @@ var testPredictKubeMetadata = []predictKubeMetadataTestData{ map[string]string{"predictHorizon": "2h", "historyTimeWindow": "7d", "prometheusAddress": "", "queryStep": "2m", "threshold": "2000", "query": "up"}, map[string]string{"apiKey": testAPIKey}, true, }, - // missing metricName - { - map[string]string{"predictHorizon": "2h", "historyTimeWindow": "7d", "prometheusAddress": "http://localhost:9090", "queryStep": "2m", "threshold": "2000", "query": "up"}, - map[string]string{"apiKey": testAPIKey}, true, - }, // malformed threshold { map[string]string{"predictHorizon": "2h", "historyTimeWindow": "7d", "prometheusAddress": "http://localhost:9090", "queryStep": "2m", "threshold": "one", "query": "up"},