From 5ad4ea0241e6ad9e866e225e4420878f8d533f5a Mon Sep 17 00:00:00 2001 From: Steve Kim Date: Tue, 14 Nov 2023 10:10:27 -0800 Subject: [PATCH] change to run canary for 30 min and for memory overflow/leak to occur --- bin/mqtt5_canary/main.cpp | 4 ++-- codebuild/mqtt5-cpp-canary-test.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/mqtt5_canary/main.cpp b/bin/mqtt5_canary/main.cpp index b643b288e..94d25cc0a 100644 --- a/bin/mqtt5_canary/main.cpp +++ b/bin/mqtt5_canary/main.cpp @@ -216,8 +216,8 @@ static void s_ParseOptions(int argc, char **argv, struct AppCtx &ctx, struct Aws } else { - fprintf(stderr, "Succeeded parsing uri"); - // fprintf(stderr, "Succeed to parse uri " PRInSTR "\n", AWS_BYTE_CURSOR_PRI(ctx.uri.GetFullUri())); + // fprintf(stderr, "Succeeded parsing uri"); + fprintf(stderr, "Succeed to parse uri " PRInSTR "\n", AWS_BYTE_CURSOR_PRI(ctx.uri.GetFullUri())); } break; default: diff --git a/codebuild/mqtt5-cpp-canary-test.yml b/codebuild/mqtt5-cpp-canary-test.yml index f8051d44a..35447f1c3 100644 --- a/codebuild/mqtt5-cpp-canary-test.yml +++ b/codebuild/mqtt5-cpp-canary-test.yml @@ -2,7 +2,7 @@ version: 0.2 env: shell: bash variables: - CANARY_DURATION: 25200 + CANARY_DURATION: 1800 CANARY_THREADS: 3 CANARY_TPS: 50 CANARY_CLIENT_COUNT: 10