Merge pull request #88641 from antoninbas/fix-regex-in-conformance-tests-runner

Fix default regular expressions in conformance tests runner
This commit is contained in:
Kubernetes Prow Robot 2020-03-09 23:33:35 -07:00 committed by GitHub
commit f8ff8f4420
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -74,7 +74,7 @@ func TestGetCmd(t *testing.T) {
},
expectArgs: []string{
"ginkgobin", "--p",
"--focus=", "--skip=[Serial]",
"--focus=", "--skip=\\[Serial\\]",
"--noColor=true", "testbin", "--",
"--disable-log-dump", "--repo-root=/kubernetes",
"--provider=", "--report-dir=", "--kubeconfig=",

View File

@ -54,7 +54,7 @@ const (
extraArgsSeparaterEnvKey = "E2E_EXTRA_ARGS_SEP"
defaultSkip = ""
defaultFocus = "[Conformance]"
defaultFocus = "\\[Conformance\\]"
defaultProvider = "local"
defaultParallel = "1"
defaultResultsDir = "/tmp/results"
@ -63,5 +63,5 @@ const (
// serialTestsRegexp is the default skip value if running in parallel. Will not
// override an explicit E2E_SKIP value.
serialTestsRegexp = "[Serial]"
serialTestsRegexp = "\\[Serial\\]"
)