diff --git a/tests/aws-cpp-sdk-s3-crt-integration-tests/S3ExpressTest.cpp b/tests/aws-cpp-sdk-s3-crt-integration-tests/S3ExpressTest.cpp index 8c65f60b8df..63a953c8233 100644 --- a/tests/aws-cpp-sdk-s3-crt-integration-tests/S3ExpressTest.cpp +++ b/tests/aws-cpp-sdk-s3-crt-integration-tests/S3ExpressTest.cpp @@ -68,7 +68,8 @@ namespace { .WithDataRedundancy(DataRedundancy::SingleAvailabilityZone)))); if (!outcome.IsSuccess() && outcome.GetError().GetResponseCode() == Aws::Http::HttpResponseCode::CONFLICT && - outcome.GetError().GetExceptionName() == "BucketAlreadyOwnedByYou") { + (outcome.GetError().GetExceptionName() == "BucketAlreadyOwnedByYou" || + outcome.GetError().GetExceptionName() == "OperationAborted")) { return CreateBucketOutcome(CreateBucketResult()); } diff --git a/tests/aws-cpp-sdk-s3-integration-tests/S3ExpressTest.cpp b/tests/aws-cpp-sdk-s3-integration-tests/S3ExpressTest.cpp index bacf812260f..dea2b0a7b66 100644 --- a/tests/aws-cpp-sdk-s3-integration-tests/S3ExpressTest.cpp +++ b/tests/aws-cpp-sdk-s3-integration-tests/S3ExpressTest.cpp @@ -68,7 +68,8 @@ namespace { .WithDataRedundancy(DataRedundancy::SingleAvailabilityZone)))); if (!outcome.IsSuccess() && outcome.GetError().GetResponseCode() == Aws::Http::HttpResponseCode::CONFLICT && - outcome.GetError().GetExceptionName() == "BucketAlreadyOwnedByYou") { + (outcome.GetError().GetExceptionName() == "BucketAlreadyOwnedByYou" || + outcome.GetError().GetExceptionName() == "OperationAborted")) { return CreateBucketOutcome(CreateBucketResult()); }