-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix TC for azurerm_cosmosdb_cassandra_cluster and azurerm_cosmosdb_ca…
…ssandra_datacenter (#16752)
- Loading branch information
Neil Ye
authored
May 18, 2022
1 parent
621a6ca
commit ba15449
Showing
4 changed files
with
46 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
internal/services/cosmos/cosmosdb_cassandra_resource_test.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package cosmos_test | ||
|
||
import ( | ||
"testing" | ||
|
||
"github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" | ||
) | ||
|
||
func TestAccCassandraSequential(t *testing.T) { | ||
// NOTE: this is a combined test rather than separate split out tests due to all below TCs sharing same sp | ||
acceptance.RunTestsInSequence(t, map[string]map[string]func(t *testing.T){ | ||
"cluster": { | ||
"basic": testAccCassandraCluster_basic, | ||
"requiresImport": testAccCassandraCluster_requiresImport, | ||
"tags": testAccCassandraCluster_tags, | ||
}, | ||
"dataCenter": { | ||
"basic": testAccCassandraDatacenter_basic, | ||
"requiresImport": testAccCassandraDatacenter_update, | ||
}, | ||
}) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters