Skip to content

Commit efbe7b2

Browse files
committed
Enabling cloudwatch integration test
1 parent 39d8192 commit efbe7b2

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

tests/aws-cpp-sdk-monitoring-integration-tests/CloudWatchMonitoringTests.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ TEST_F(CloudWatchMonitoringOperationTest, PutLargeMetricDataTest) {
8181
// Preparing request
8282
Aws::CloudWatch::Model::PutMetricDataRequest request;
8383
request.SetNamespace("TestingMetrics");
84-
// Adding the datum 10 thousand times to inflate the request size above
85-
// request compression threshold if enabled
86-
for (int i = 0; i < 10000; i++) {
84+
// Adding the datum 200 times, each about a 100bytes to inflate the request
85+
// size above request compression threshold if enabled
86+
for (int i = 0; i < 200; i++) {
8787
request.AddMetricData(datum);
8888
}
8989
// Submit request

tools/scripts/build-tests/run-al2-integ-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ export AWS_PROFILE=$profile
3232
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${PREFIX_DIR}/al2-install/lib64/"
3333
cd "${PREFIX_DIR}/al2-build"
3434
if [ -f "${PREFIX_DIR}/aws-sdk-cpp/tools/scripts/suppressions.txt" ]; then export LSAN_OPTIONS=suppressions="${PREFIX_DIR}/aws-sdk-cpp/tools/scripts/suppressions.txt"; fi
35-
python ../aws-sdk-cpp/tools/scripts/run_integration_tests.py --testDir .
35+
python ../aws-sdk-cpp/tools/scripts/run_integration_tests.py --testDir ./tests

tools/scripts/build-tests/run-mac-integ-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ export AWS_PROFILE=$profile
3232
export DYLD_LIBRARY_PATH=$CATAPULT_WORKSPACE_DIR/mac-install/lib
3333
cd "${PREFIX_DIR}/mac-build"
3434
if [ -f "${PREFIX_DIR}/aws-sdk-cpp/tools/scripts/suppressions.txt" ]; then export LSAN_OPTIONS=suppressions="${PREFIX_DIR}/aws-sdk-cpp/tools/scripts/suppressions.txt"; fi
35-
python ../aws-sdk-cpp/tools/scripts/run_integration_tests.py --testDir .
35+
python ../aws-sdk-cpp/tools/scripts/run_integration_tests.py --testDir ./tests

tools/scripts/run_integration_tests.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,20 @@ def main():
3333
test_has_parent_dir = platform.system() != "Windows"
3434
exe_extension = ".exe" if platform.system() == "Windows" else ""
3535

36-
test_list = [ # "aws-cpp-sdk-transcribestreaming-integration-tests", # Temporarily disabled while investigated
36+
test_list = [
37+
# "aws-cpp-sdk-transcribestreaming-integration-tests", # Temporarily disabled while investigated
3738
"aws-cpp-sdk-dynamodb-integration-tests",
3839
"aws-cpp-sdk-sqs-integration-tests",
3940
#"aws-cpp-sdk-s3-integration-tests",
4041
#"aws-cpp-sdk-s3-crt-integration-tests",
4142
#"aws-cpp-sdk-s3control-integration-tests",
42-
"aws-cpp-sdk-lambda-integration-tests",
43+
# "aws-cpp-sdk-lambda-integration-tests",
4344
"aws-cpp-sdk-cognitoidentity-integration-tests",
4445
#"aws-cpp-sdk-transfer-tests",
4546
#"aws-cpp-sdk-s3-encryption-integration-tests",
4647
"aws-cpp-sdk-kinesis-integration-tests",
4748
"aws-cpp-sdk-logs-integration-tests",
49+
"aws-cpp-sdk-monitoring-integration-tests",
4850
"aws-cpp-sdk-elasticfilesystem-integration-tests",
4951
#"aws-cpp-sdk-rds-integration-tests",
5052
"aws-cpp-sdk-ec2-integration-tests"]

0 commit comments

Comments
 (0)