Skip to content

Commit

Permalink
update test concurrent count
Browse files Browse the repository at this point in the history
  • Loading branch information
gwesterfieldjr committed Jun 17, 2022
1 parent b573822 commit aa0de77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmd/integration_test/build/buildspecs/test-eks-a-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ version: 0.2

env:
variables:
INTEGRATION_TEST_MAX_EC2_COUNT: 130
INTEGRATION_TEST_MAX_CONCURRENT_TEST_COUNT: 130
INTEGRATION_TEST_MAX_EC2_COUNT: 160
INTEGRATION_TEST_MAX_CONCURRENT_TEST_COUNT: 160
T_CLOUDSTACK_CIDR: "10.11.255.0/24"
SKIPPED_TESTS: "TestTinkerbellKubernetes121ThreeWorkersSimpleFlow,TestTinkerbellKubernetes122BottleRocketSimpleFlow,TestTinkerbellKubernetes121ExternalEtcdSimpleFlow,TestTinkerbellKubernetes123SimpleFlow,TestVSphereKubernetes122BottlerocketAutoimport,TestCloudStackUpgradeMulticlusterWorkloadClusterWithFluxLegacy,TestCloudStackKubernetes121StackedEtcdRedhat,TestCloudStackKubernetes120RedhatWorkerNodeUpgrade,TestCloudStackKubernetes120RedhatTo121MultipleFieldsUpgrade,TestCloudStackKubernetes121RedhatProxyConfig,TestCloudStackKubernetes120OIDC,TestCloudStackKubernetes121OIDC,TestCloudStackKubernetes121RedhatRegistryMirrorAndCert,TestSnowKubernetes121SimpleFlow,TestSnowKubernetes121OIDC,TestSnowKubernetes121UbuntuProxyConfig"
CLOUDSTACK_PROVIDER: true
Expand Down
3 changes: 1 addition & 2 deletions internal/test/e2e/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,6 @@ func (e *E2ESession) commandWithEnvVars(command string) string {
}

func splitTests(testsList []string, conf ParallelRunConf) ([]instanceRunConf, error) {
var runConfs []instanceRunConf

testPerInstance := len(testsList) / conf.MaxInstances
if testPerInstance == 0 {
testPerInstance = 1
Expand All @@ -249,6 +247,7 @@ func splitTests(testsList []string, conf ParallelRunConf) ([]instanceRunConf, er
privateNetworkTestsRe := regexp.MustCompile(`^.*(Proxy|RegistryMirror).*$`)
multiClusterTestsRe := regexp.MustCompile(`^.*Multicluster.*$`)

runConfs := make([]instanceRunConf, 0, conf.MaxInstances)
ipman := newE2EIPManager(os.Getenv(cidrVar), os.Getenv(privateNetworkCidrVar))

awsSession, err := session.NewSession()
Expand Down

0 comments on commit aa0de77

Please sign in to comment.