Skip to content

Commit

Permalink
remove unnecessary check in pc registration test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Haroon-Dweikat-Ntx committed Dec 10, 2024
1 parent 3a21d15 commit 898597e
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ import (

// Logic covered in create cluster resource test
func TestAccV2NutanixPePcRegistrationResource_ValidationsDomainManagerRemoteClusterSpec(t *testing.T) {
if testVars.Clusters.Nodes[0].CvmIP == "" {
t.Skip("Skipping test as No available node to be used for testing")
}
resource.Test(t, resource.TestCase{
PreCheck: func() { acc.TestAccPreCheck(t) },
Providers: acc.TestAccProviders,
Expand All @@ -38,9 +35,6 @@ func TestAccV2NutanixPePcRegistrationResource_ValidationsDomainManagerRemoteClus
}

func TestAccV2NutanixPePcRegistrationResource_ValidationsAOSRemoteClusterSpec(t *testing.T) {
if testVars.Clusters.Nodes[0].CvmIP == "" {
t.Skip("Skipping test as No available node to be used for testing")
}
resource.Test(t, resource.TestCase{
PreCheck: func() { acc.TestAccPreCheck(t) },
Providers: acc.TestAccProviders,
Expand All @@ -62,9 +56,6 @@ func TestAccV2NutanixPePcRegistrationResource_ValidationsAOSRemoteClusterSpec(t
}

func TestAccV2NutanixPePcRegistrationResource_ValidationsClusterReference(t *testing.T) {
if testVars.Clusters.Nodes[0].CvmIP == "" {
t.Skip("Skipping test as No available node to be used for testing")
}
resource.Test(t, resource.TestCase{
PreCheck: func() { acc.TestAccPreCheck(t) },
Providers: acc.TestAccProviders,
Expand Down

0 comments on commit 898597e

Please sign in to comment.