diff --git a/integration-tests/common/common.go b/integration-tests/common/common.go index 89aba2e6e..9ade365ae 100644 --- a/integration-tests/common/common.go +++ b/integration-tests/common/common.go @@ -91,7 +91,7 @@ func New() *Common { // Setting optional parameters testDurationValue := getEnv("TEST_DURATION") if testDurationValue != "" { - duration, err := time.ParseDuration(ttlValue) + duration, err := time.ParseDuration(testDurationValue) if err != nil { panic(fmt.Sprintf("Please define a proper duration for the test: %v", err)) }