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
2 changed files with 3 additions and 3 deletions

View File

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

View File

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