Skip to content

Commit afe73b7

Browse files
authored
test: Fixes TestAccAdvancedCluster_updateDeleteTimeoutFlex test (#3730)
1 parent 511ba9c commit afe73b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/service/advancedcluster/resource_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2905,7 +2905,7 @@ func TestAccAdvancedCluster_updateDeleteTimeoutFlex(t *testing.T) {
29052905
},
29062906
{
29072907
Config: acc.ConfigEmpty(), // triggers delete and because delete timeout is 1s, it times out
2908-
ExpectError: regexp.MustCompile("timeout while waiting for state to become 'DELETED'"),
2908+
ExpectError: regexp.MustCompile("Error in flex delete"),
29092909
},
29102910
{
29112911
// deletion of the flex cluster has been triggered, but has timed out in previous step, so this is needed in order to avoid "Error running post-test destroy, there may be dangling resource [...] Cluster already requested to be deleted"

0 commit comments

Comments
 (0)