diff --git a/integration-tests/common/common.go b/integration-tests/common/common.go index 4f66255cd..835dd0ce2 100644 --- a/integration-tests/common/common.go +++ b/integration-tests/common/common.go @@ -90,7 +90,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)) }