Skip to content

Commit

Permalink
Test scaledObjectName longer then 63 chars
Browse files Browse the repository at this point in the history
Signed-off-by: Omer Aplatony <[email protected]>
  • Loading branch information
omerap12 committed Jan 5, 2025
1 parent 6b168e2 commit dc4ac3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/scalers/cpu/cpu_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var (
workloadDeploymentName = fmt.Sprintf("%s-workload-deployment", testName)
testNamespace = fmt.Sprintf("%s-ns", testName)
deploymentName = fmt.Sprintf("%s-deployment", testName)
scaledObjectName = fmt.Sprintf("%s-so", testName)
scaledObjectName := "this-is-a-very-long-name-that-exceeds-kubernetes-label-length-limit-xxxxx"

Check failure on line 31 in tests/scalers/cpu/cpu_test.go

View workflow job for this annotation

GitHub Actions / Static Checks

expected type, found ':='

Check failure on line 31 in tests/scalers/cpu/cpu_test.go

View workflow job for this annotation

GitHub Actions / Static Checks

syntax error: unexpected :=, expected = (typecheck)
hpaName = fmt.Sprintf("keda-hpa-%s-so", testName)
)

Expand Down

0 comments on commit dc4ac3a

Please sign in to comment.