Skip to content

Commit 844edff

Browse files
authored
Adjust cluster instances to bypass Atlas slowness (#2273)
1 parent e610991 commit 844edff

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

test/e2e/atlas_gov_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ var _ = Describe("Atlas for Government", Label("atlas-gov"), func() {
493493
{
494494
ElectableSpecs: &akov2.Specs{
495495
DiskIOPS: pointer.MakePtr(int64(3000)),
496-
InstanceSize: "M20",
496+
InstanceSize: "M10",
497497
NodeCount: pointer.MakePtr(3),
498498
},
499499
AutoScaling: &akov2.AdvancedAutoScalingSpec{
@@ -503,7 +503,7 @@ var _ = Describe("Atlas for Government", Label("atlas-gov"), func() {
503503
Compute: &akov2.ComputeSpec{
504504
Enabled: pointer.MakePtr(true),
505505
ScaleDownEnabled: pointer.MakePtr(true),
506-
MinInstanceSize: "M20",
506+
MinInstanceSize: "M10",
507507
MaxInstanceSize: "M40",
508508
},
509509
},

test/int/deployment_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,8 @@ var _ = Describe("AtlasDeployment", Label("int", "AtlasDeployment", "deployment-
314314

315315
Describe("Create deployment & change ReplicationSpecs", Label("AtlasDeploymentSharding"), func() {
316316
It("Should Succeed", func(ctx context.Context) {
317-
createdDeployment = akov2.DefaultAWSDeployment(namespace.Name, createdProject.Name)
317+
createdDeployment = akov2.DefaultAWSDeployment(namespace.Name, createdProject.Name).
318+
WithInstanceSize("M30")
318319

319320
// Atlas will add some defaults in case the Atlas Operator doesn't set them
320321
replicationSpecsCheck := func(deployment *admin.AdvancedClusterDescription) {

0 commit comments

Comments
 (0)