We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dec7e21 commit 8810f99Copy full SHA for 8810f99
pkg/cmd/roachtest/roachtestutil/utils.go
@@ -198,7 +198,7 @@ func GetMeanOverLastN(n int, items []float64) float64 {
198
// Usage: ROACHTEST_PERF_WORKLOAD_DURATION="5m".
199
const EnvWorkloadDurationFlag = "ROACHTEST_PERF_WORKLOAD_DURATION"
200
201
-var workloadDurationRegex = regexp.MustCompile(`^\d+[mhsMHS]$`)
+var workloadDurationRegex = regexp.MustCompile(`^\d+[mhs]$`)
202
203
// GetEnvWorkloadDurationValueOrDefault validates EnvWorkloadDurationFlag and
204
// returns value set if valid else returns default duration.
0 commit comments