Skip to content

Commit

Permalink
Merge pull request #88641 from antoninbas/fix-regex-in-conformance-te…
Browse files Browse the repository at this point in the history
…sts-runner

Fix default regular expressions in conformance tests runner
  • Loading branch information
k8s-ci-robot authored Mar 10, 2020
2 parents 5877945 + 97e8bf5 commit f8ff8f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cluster/images/conformance/go-runner/cmd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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=",
Expand Down
4 changes: 2 additions & 2 deletions cluster/images/conformance/go-runner/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const (
extraArgsSeparaterEnvKey = "E2E_EXTRA_ARGS_SEP"

defaultSkip = ""
defaultFocus = "[Conformance]"
defaultFocus = "\\[Conformance\\]"
defaultProvider = "local"
defaultParallel = "1"
defaultResultsDir = "/tmp/results"
Expand All @@ -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\\]"
)

0 comments on commit f8ff8f4

Please sign in to comment.