Skip to content

Commit

Permalink
fix scaling-modifiers-test-ns
Browse files Browse the repository at this point in the history
Signed-off-by: Shane <[email protected]>
  • Loading branch information
ctccxxd committed Dec 24, 2024
1 parent 36c5711 commit 0bf46b0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/internals/scaling_modifiers/scaling_modifiers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down Expand Up @@ -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 = `
Expand Down Expand Up @@ -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 = `
Expand Down

0 comments on commit 0bf46b0

Please sign in to comment.