Skip to content

Commit

Permalink
up crt (#3028)
Browse files Browse the repository at this point in the history
add potential fix for windows test fail n delay loading

minimalize fix for delay loading issue in windows builds
  • Loading branch information
DmitriyMusatkin authored and sbera87 committed Jul 11, 2024
1 parent 6a7f01d commit f4c6bfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/aws-cpp-sdk-s3-unit-tests/S3UnitTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,9 @@ TEST_F(S3UnitTest, S3EmbeddedErrorTestNonOKResponse) {

_mockHttpClient->AddResponseToReturn(mockResponse);

auto endpointResolutionOutcome = _s3Client->accessEndpointProvider()->ResolveEndpoint(request.GetEndpointContextParams()); //_s3Client->OverrideEndpoint("s3.amazonaws.com");
auto endpointResolutionOutcome = _s3Client->accessEndpointProvider()->ResolveEndpoint(request.GetEndpointContextParams());

const auto response = std::static_pointer_cast<S3TestClient>(_s3Client)->Aws::Client::AWSXMLClient::MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT);
const auto response = std::static_pointer_cast<S3TestClient>(_s3Client)->Aws::Client::AWSXMLClient::MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, "dummy");

EXPECT_TRUE(response.GetError().GetExceptionName() == "InvalidAction");

Expand Down

0 comments on commit f4c6bfa

Please sign in to comment.