Skip to content

Commit 98772cd

Browse files
committed
debug
1 parent 534e439 commit 98772cd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/aws-cpp-sdk-core-integration-tests/STSWebIdentityProviderIntegrationTest.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const size_t MAX_IAM_CONSISTENCY_RETRIES = 60;
4141
class CognitoIdentitySetup {
4242
public:
4343
CognitoIdentitySetup(const Aws::String& testIdentifier)
44-
: m_tokenFile(std::ios_base::out | std::ios_base::trunc),
44+
: m_tokenFile("./", std::ios_base::out | std::ios_base::trunc),
4545
m_roleName{"WebIdentityTestRole" + testIdentifier},
4646
m_policyName{"WebIdentityTestPolicy" + testIdentifier},
4747
m_poolName{"WebIdentityTestPool" + testIdentifier} {
@@ -155,6 +155,7 @@ TEST_F(STSWebIdentityProviderIntegrationTest, ShouldWork) {
155155
config.credentialProviderConfig.region = config.region;
156156
config.credentialProviderConfig.stsCredentialsProviderConfig.roleArn = testResourcesRAII.GetRoleArn();
157157
config.credentialProviderConfig.stsCredentialsProviderConfig.tokenFilePath = testResourcesRAII.AccessTokenFile().GetFileName();
158+
AWS_LOGSTREAM_INFO("STSWebIdentityProviderIntegrationTest", "Token file path: " << testResourcesRAII.AccessTokenFile().GetFileName());
158159
STSAssumeRoleWebIdentityCredentialsProvider provider{config.credentialProviderConfig};
159160
const auto credentials = provider.GetAWSCredentials();
160161
EXPECT_FALSE(credentials.IsEmpty());

0 commit comments

Comments
 (0)