Skip to content

Commit af2a094

Browse files
committed
update to test changes
1 parent a1a6f9e commit af2a094

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/aws-cpp-sdk-s3-integration-tests/BucketAndObjectOperationTest.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@
6262
#endif
6363

6464
#include <aws/core/http/standard/StandardHttpRequest.h>
65+
#include <aws/core/utils/logging/LogLevel.h>
66+
#include <aws/core/utils/logging/DefaultLogSystem.h>
6567

6668

6769
using namespace Aws;
@@ -196,6 +198,11 @@ namespace
196198

197199
void SetUp() override
198200
{
201+
// Enable trace logging
202+
Aws::Utils::Logging::InitializeAWSLogging(
203+
Aws::MakeShared<Aws::Utils::Logging::DefaultLogSystem>(
204+
"test", Aws::Utils::Logging::LogLevel::Trace));
205+
199206
static std::once_flag flag;
200207
std::call_once(flag, EnsureUniqueBucketNames);
201208

@@ -208,6 +215,7 @@ namespace
208215
config.connectTimeoutMs = 30000;
209216
config.requestTimeoutMs = 30000;
210217
config.readRateLimiter = Limiter;
218+
config.enableHttpClientTrace = true;
211219
config.writeRateLimiter = Limiter;
212220
config.executor = Aws::MakeShared<Aws::Utils::Threading::PooledThreadExecutor>(ALLOCATION_TAG, 4);
213221
config.enableHttpClientTrace = true;

0 commit comments

Comments
 (0)