Skip to content

Commit cd50b1e

Browse files
muhammad-othmandscpinheiro
authored andcommitted
fix: Update RedShift CRUDSecurityGroups test with the new exception message
1 parent 35d2fc9 commit cd50b1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/test/Services/Redshift/IntegrationTests/Redshift.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public void CRUDSecurityGroups()
4949
catch (AmazonRedshiftException e)
5050
{
5151
// This test does not work for VPC by default accounts so skip the test.
52-
if (!string.Equals(e.Message, "VPC-by-Default customers cannot use cluster security groups"))
52+
if (!string.Equals(e.Message, "Amazon Redshift has discontinued cluster security groups. For security group configuration, associate VPC security groups when creating or modifying your cluster."))
5353
throw;
5454
}
5555
finally

0 commit comments

Comments
 (0)