Skip to content

Commit 1fc2267

Browse files
committed
Fix bug with test IDs containing spaces in suite like cluster install
1 parent 327e327 commit 1fc2267

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/util/param/param.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ var paramRegexp = map[string]*regexp.Regexp{
4141
"job": nameRegexp,
4242
"job_name": nameRegexp,
4343
"test": regexp.MustCompile(`^.+$`), // tests can be anything, so always parameterize in sql
44-
"test_id": regexp.MustCompile(`^[\w:.-]+$`), // test IDs like "openshift-tests-upgrade:af8a62c596e5c2b5448a5d308f4989a6"
44+
"test_id": regexp.MustCompile(`^[\w:. -]+$`), // test IDs like "openshift-tests-upgrade:af8a62c596e5c2b5448a5d308f4989a6" or "cluster install:0cb1bb27e418491b1ffdacab58c5c8c0"
4545
"prow_job_run_id": uintRegexp,
4646
"prow_job_run_ids": regexp.MustCompile(`^\d+(,\d+)*$`), // comma-separated integers
4747
"org": nameRegexp,

0 commit comments

Comments
 (0)