Skip to content

Commit

Permalink
integration-tests/common/common.go: fix reading custom test duration
Browse files Browse the repository at this point in the history
  • Loading branch information
cfal committed Aug 8, 2023
1 parent d2c9567 commit 4cda3da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration-tests/common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down

0 comments on commit 4cda3da

Please sign in to comment.