Skip to content

Commit

Permalink
Fix jenkins failures cluster version (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
SaicharanCB authored Jan 30, 2024
1 parent faa2d63 commit 9be9a51
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions internal/resources/acceptance_tests/cluster_acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func TestAccClusterResourceWithOptionalFieldAWS(t *testing.T) {
resource.TestCheckResourceAttr(resourceReference, "cloud_provider.type", "aws"),
resource.TestCheckResourceAttr(resourceReference, "cloud_provider.region", "us-east-1"),
resource.TestCheckResourceAttr(resourceReference, "cloud_provider.cidr", cidr),
resource.TestCheckResourceAttr(resourceReference, "couchbase_server.version", "7.1"),
resource.TestCheckResourceAttr(resourceReference, "couchbase_server.version", "7.2"),
resource.TestCheckResourceAttr(resourceReference, "configuration_type", "multiNode"),
resource.TestCheckResourceAttr(resourceReference, "service_groups.0.node.compute.cpu", "4"),
resource.TestCheckResourceAttr(resourceReference, "service_groups.0.node.compute.ram", "16"),
Expand Down Expand Up @@ -253,7 +253,7 @@ func TestAccClusterResourceAzure(t *testing.T) {
resource.TestCheckResourceAttr(resourceReference, "cloud_provider.type", "azure"),
resource.TestCheckResourceAttr(resourceReference, "cloud_provider.region", "eastus"),
resource.TestCheckResourceAttr(resourceReference, "cloud_provider.cidr", cidr),
resource.TestCheckResourceAttr(resourceReference, "couchbase_server.version", "7.1"),
resource.TestCheckResourceAttr(resourceReference, "couchbase_server.version", "7.2"),
resource.TestCheckResourceAttr(resourceReference, "configuration_type", "multiNode"),
resource.TestCheckResourceAttr(resourceReference, "service_groups.0.node.compute.cpu", "4"),
resource.TestCheckResourceAttr(resourceReference, "service_groups.0.node.compute.ram", "16"),
Expand Down Expand Up @@ -287,7 +287,7 @@ func TestAccClusterResourceAzure(t *testing.T) {
resource.TestCheckResourceAttr(resourceReference, "cloud_provider.type", "azure"),
resource.TestCheckResourceAttr(resourceReference, "cloud_provider.region", "eastus"),
resource.TestCheckResourceAttr(resourceReference, "cloud_provider.cidr", cidr),
resource.TestCheckResourceAttr(resourceReference, "couchbase_server.version", "7.1"),
resource.TestCheckResourceAttr(resourceReference, "couchbase_server.version", "7.2"),
resource.TestCheckResourceAttr(resourceReference, "configuration_type", "multiNode"),
resource.TestCheckResourceAttr(resourceReference, "service_groups.0.node.compute.cpu", "4"),
resource.TestCheckResourceAttr(resourceReference, "service_groups.0.node.compute.ram", "32"),
Expand All @@ -314,7 +314,7 @@ func TestAccClusterResourceAzure(t *testing.T) {
resource.TestCheckResourceAttr(resourceReference, "cloud_provider.type", "azure"),
resource.TestCheckResourceAttr(resourceReference, "cloud_provider.region", "eastus"),
resource.TestCheckResourceAttr(resourceReference, "cloud_provider.cidr", cidr),
resource.TestCheckResourceAttr(resourceReference, "couchbase_server.version", "7.1"),
resource.TestCheckResourceAttr(resourceReference, "couchbase_server.version", "7.2"),
resource.TestCheckResourceAttr(resourceReference, "configuration_type", "multiNode"),
resource.TestCheckResourceAttr(resourceReference, "service_groups.0.node.compute.cpu", "4"),
resource.TestCheckResourceAttr(resourceReference, "service_groups.0.node.compute.ram", "16"),
Expand All @@ -341,7 +341,7 @@ func TestAccClusterResourceAzure(t *testing.T) {
resource.TestCheckResourceAttr(resourceReference, "cloud_provider.type", "azure"),
resource.TestCheckResourceAttr(resourceReference, "cloud_provider.region", "eastus"),
resource.TestCheckResourceAttr(resourceReference, "cloud_provider.cidr", cidr),
resource.TestCheckResourceAttr(resourceReference, "couchbase_server.version", "7.1"),
resource.TestCheckResourceAttr(resourceReference, "couchbase_server.version", "7.2"),
resource.TestCheckResourceAttr(resourceReference, "configuration_type", "multiNode"),
resource.TestCheckResourceAttr(resourceReference, "service_groups.0.node.compute.cpu", "4"),
resource.TestCheckResourceAttr(resourceReference, "service_groups.0.node.compute.ram", "16"),
Expand Down Expand Up @@ -400,7 +400,7 @@ func TestAccClusterResourceGCP(t *testing.T) {
resource.TestCheckResourceAttr(resourceReference, "cloud_provider.type", "gcp"),
resource.TestCheckResourceAttr(resourceReference, "cloud_provider.region", "us-east1"),
resource.TestCheckResourceAttr(resourceReference, "cloud_provider.cidr", cidr),
resource.TestCheckResourceAttr(resourceReference, "couchbase_server.version", "7.1"),
resource.TestCheckResourceAttr(resourceReference, "couchbase_server.version", "7.2"),
resource.TestCheckResourceAttr(resourceReference, "configuration_type", "multiNode"),
resource.TestCheckResourceAttr(resourceReference, "service_groups.0.node.compute.cpu", "4"),
resource.TestCheckResourceAttr(resourceReference, "service_groups.0.node.compute.ram", "16"),
Expand Down Expand Up @@ -433,7 +433,7 @@ func TestAccClusterResourceGCP(t *testing.T) {
resource.TestCheckResourceAttr(resourceReference, "cloud_provider.type", "gcp"),
resource.TestCheckResourceAttr(resourceReference, "cloud_provider.region", "us-east1"),
resource.TestCheckResourceAttr(resourceReference, "cloud_provider.cidr", cidr),
resource.TestCheckResourceAttr(resourceReference, "couchbase_server.version", "7.1"),
resource.TestCheckResourceAttr(resourceReference, "couchbase_server.version", "7.2"),
resource.TestCheckResourceAttr(resourceReference, "configuration_type", "multiNode"),
resource.TestCheckResourceAttr(resourceReference, "service_groups.1.node.compute.cpu", "8"),
resource.TestCheckResourceAttr(resourceReference, "service_groups.1.node.compute.ram", "16"),
Expand Down Expand Up @@ -788,7 +788,7 @@ resource "couchbase-capella_cluster" "%[2]s" {
name = "Terraform Acceptance Test Cluster"
description = "My first test cluster for multiple services."
couchbase_server = {
version = "7.1"
version = "7.2"
}
cloud_provider = {
type = "aws"
Expand Down Expand Up @@ -964,7 +964,7 @@ resource "couchbase-capella_cluster" "%[2]s" {
cidr = "%[5]s"
}
couchbase_server = {
version = "7.1"
version = "7.2"
}
service_groups = [
{
Expand Down Expand Up @@ -1015,7 +1015,7 @@ resource "couchbase-capella_cluster" "%[2]s" {
cidr = "%[5]s"
}
couchbase_server = {
version = "7.1"
version = "7.2"
}
service_groups = [
{
Expand Down Expand Up @@ -1070,7 +1070,7 @@ resource "couchbase-capella_cluster" "%[2]s" {
cidr = "%[5]s"
}
couchbase_server = {
version = "7.1"
version = "7.2"
}
service_groups = [
{
Expand Down Expand Up @@ -1189,7 +1189,7 @@ resource "couchbase-capella_cluster" "%[2]s" {
}
configuration_type = "multiNode"
couchbase_server = {
version = "7.1"
version = "7.2"
}
service_groups = [
{
Expand Down Expand Up @@ -1373,7 +1373,7 @@ resource "couchbase-capella_cluster" "%[2]s" {
cidr = "%[5]s"
}
couchbase_server = {
version = "7.1"
version = "7.2"
}
service_groups = [
{
Expand Down

0 comments on commit 9be9a51

Please sign in to comment.