diff --git a/tests/docker/test-helpers.go b/tests/docker/test-helpers.go index 84f2fd6a923f..b52739572f67 100644 --- a/tests/docker/test-helpers.go +++ b/tests/docker/test-helpers.go @@ -69,7 +69,7 @@ func NewTestConfig(k3sImage string) (*TestConfig, error) { } // Generate random secret - config.Secret = fmt.Sprintf("%012ld", rand.Int63n(1000000000000)) + config.Secret = fmt.Sprintf("%012d", rand.Int63n(1000000000000)) return config, nil }