Skip to content

Commit

Permalink
Reduce number of parllel processes of integration tests to reduce loa…
Browse files Browse the repository at this point in the history
…d that overwhelms ApiServer.
  • Loading branch information
mszadkow committed Jan 9, 2025
1 parent 94dff9e commit 106712f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile-test.mk
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ ENVTEST_K8S_VERSION ?= 1.31
# Number of processes to use during integration tests to run specs within a
# suite in parallel. Suites still run sequentially. User may set this value to 1
# to run without parallelism.
INTEGRATION_NPROCS ?= 4
INTEGRATION_NPROCS ?= 3
# Folder where the integration tests are located.
INTEGRATION_TARGET ?= ./test/integration/...
# Verbosity level for apiserver logging.
Expand Down
2 changes: 1 addition & 1 deletion test/integration/framework/framework.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (f *Framework) Init() *rest.Config {

var err error
cfg, err = f.testEnv.Start()
gomega.ExpectWithOffset(1, err).NotTo(gomega.HaveOccurred())
gomega.ExpectWithOffset(1, err).NotTo(gomega.HaveOccurred(), fmt.Sprintf("Failed to start testenv due to: %v", err))
gomega.ExpectWithOffset(1, cfg).NotTo(gomega.BeNil())
})
f.scheme = runtime.NewScheme()
Expand Down

0 comments on commit 106712f

Please sign in to comment.