You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aws-cpp-sdk-identity-management-tests/auth/CognitoCachingCredentialsProviderTest.cpp
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -124,6 +124,8 @@ namespace
124
124
mockHttpClientFactory = nullptr;
125
125
mockIdentityRepository = nullptr;
126
126
127
+
// On Android we run all integration tests within a single process, which means we need to be careful with any testing setup that modifies global state.
128
+
// We override the global http factory in Setup() here, so reset back to the default state as we leave this test suite.
handle->SetError(Aws::Client::AWSError<Aws::Client::CoreErrors>(static_cast<Aws::Client::CoreErrors>(Aws::S3::S3Errors::NO_SUCH_UPLOAD), "NoSuchUpload", "The requested file could not be opened.", false));
handle->SetError(Aws::Client::AWSError<Aws::Client::CoreErrors>(static_cast<Aws::Client::CoreErrors>(Aws::S3::S3Errors::NO_SUCH_UPLOAD), "NoSuchUpload", "The requested file could not be opened.", false));
0 commit comments