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 10, 2023
1 parent 185d226 commit 14618d0
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 @@ -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))
}
Expand Down

0 comments on commit 14618d0

Please sign in to comment.