Skip to content

Commit

Permalink
Fix TestAccContainerCluster_withDeletionProtection (#9141) (#6423)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Oct 2, 2023
1 parent 6eac75f commit e067af4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/9141.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func TestAccContainerCluster_withDeletionProtection(t *testing.T) {
{
Config: testAccContainerCluster_withDeletionProtection(clusterName, "true"),
Destroy: true,
ExpectError: regexp.MustCompile("Cannot destroy cluster because deletion_protection is set to true. Set it to false to proceed with instance deletion."),
ExpectError: regexp.MustCompile("Cannot destroy cluster because deletion_protection is set to true. Set it to false to proceed with cluster deletion."),
},
{
Config: testAccContainerCluster_withDeletionProtection(clusterName, "false"),
Expand Down

0 comments on commit e067af4

Please sign in to comment.