Increase e2e concurrency
This commit is contained in:
parent
3eafaa35a1
commit
630278f730
2 changed files with 6 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -42,7 +42,7 @@ endif
|
||||||
# Allow limiting the scope of the e2e tests. By default run everything
|
# Allow limiting the scope of the e2e tests. By default run everything
|
||||||
FOCUS ?= .*
|
FOCUS ?= .*
|
||||||
# number of parallel test
|
# number of parallel test
|
||||||
E2E_NODES ?= 10
|
E2E_NODES ?= 14
|
||||||
# slow test only if takes > 50s
|
# slow test only if takes > 50s
|
||||||
SLOW_E2E_THRESHOLD ?= 50
|
SLOW_E2E_THRESHOLD ?= 50
|
||||||
# run e2e test suite with tests that check for memory leaks? (default is false)
|
# run e2e test suite with tests that check for memory leaks? (default is false)
|
||||||
|
|
|
@ -43,7 +43,11 @@ func TestDefaults(t *testing.T) {
|
||||||
|
|
||||||
oldArgs := os.Args
|
oldArgs := os.Args
|
||||||
defer func() { os.Args = oldArgs }()
|
defer func() { os.Args = oldArgs }()
|
||||||
os.Args = []string{"cmd", "--default-backend-service", "namespace/test", "--http-port", "0", "--https-port", "0"}
|
os.Args = []string{"cmd",
|
||||||
|
"--default-backend-service", "namespace/test",
|
||||||
|
"--http-port", "0",
|
||||||
|
"--https-port", "0",
|
||||||
|
}
|
||||||
|
|
||||||
showVersion, conf, err := parseFlags()
|
showVersion, conf, err := parseFlags()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue