Skip to content

Commit 2ec690c

Browse files
feat: Changing nutanix provider e2e as serial
1 parent 51f6893 commit 2ec690c

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

test/e2e/quick_start_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,12 @@ import (
3131
var _ = Describe("Quick start", func() {
3232
for _, provider := range []string{"Docker", "AWS", "Nutanix"} {
3333
// Add any provider specific decorators here.
34-
// Currently, only Docker requires Serial decorator to ensure the machine running the Docker e2e tests
34+
// Docker and Nutanix require Serial decorator to ensure the machine running the e2e tests
3535
// doesn't have resources exhausted and lead to flaky tests.
36-
// Other provider tests will run in parallel.
36+
// This prevents parallel execution which can cause IP address pool exhaustion,
37+
// VM capacity limits, and Prism Central API rate limiting.
3738
var providerSpecificDecorators []interface{}
38-
if provider == "Docker" {
39+
if provider == "Docker" || provider == "Nutanix" {
3940
providerSpecificDecorators = append(providerSpecificDecorators, Serial)
4041
}
4142

test/e2e/self_hosted_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@ import (
2525
var _ = Describe("Self-hosted", Serial, func() {
2626
for _, provider := range []string{"Docker", "Nutanix"} {
2727
// Add any provider specific decorators here.
28-
// Currently, only Docker requires Serial decorator to ensure the machine running the Docker e2e tests
28+
// Docker and Nutanix require Serial decorator to ensure the machine running the e2e tests
2929
// doesn't have resources exhausted and lead to flaky tests.
30-
// Other provider tests will run in parallel.
30+
// This prevents parallel execution which can cause IP address pool exhaustion,
31+
// VM capacity limits, and Prism Central API rate limiting.
3132
var providerSpecificDecorators []interface{}
32-
if provider == "Docker" {
33+
if provider == "Docker" || provider == "Nutanix" {
3334
providerSpecificDecorators = append(providerSpecificDecorators, Serial)
3435
}
3536
Context(provider, Label("provider:"+provider), providerSpecificDecorators, func() {

0 commit comments

Comments
 (0)