Fix default regular expressions in conformance tests runner

[Serial] should be \[Serial\]
[Conformance] should be \[Conformance\]
This commit is contained in:
Antonin Bas 2020-02-27 16:53:29 -08:00
parent a555825ab4
commit 97e8bf5f84
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\\]"
)