diff --git a/tests/internals/scaling_modifiers/scaling_modifiers_test.go b/tests/internals/scaling_modifiers/scaling_modifiers_test.go index bc09c72fa2b..1517c4f965e 100644 --- a/tests/internals/scaling_modifiers/scaling_modifiers_test.go +++ b/tests/internals/scaling_modifiers/scaling_modifiers_test.go @@ -12,7 +12,7 @@ import ( "github.com/stretchr/testify/assert" "k8s.io/client-go/kubernetes" - . "github.com/kedacore/keda/v2/tests/helper" + . "github.com/kedacore/keda/v2/tests/helper" ) const ( @@ -163,12 +163,14 @@ spec: url: "{{.MetricsServerEndpoint}}" valueLocation: 'value' method: "query" + metricType: "AverageValue" authenticationRef: name: {{.TriggerAuthName}} - type: kubernetes-workload name: kw_trig metadata: podSelector: pod=workload-test + metricType: "AverageValue" ` soComplexFormula = ` @@ -205,12 +207,14 @@ spec: url: "{{.MetricsServerEndpoint}}" valueLocation: 'value' method: "query" + metricType: "AverageValue" authenticationRef: name: {{.TriggerAuthName}} - type: kubernetes-workload name: kw_trig metadata: podSelector: pod=workload-test + metricType: "AverageValue" ` workloadDeploymentTemplate = `