From 65fff77ef85b9a042432834c32de18ad21e38166 Mon Sep 17 00:00:00 2001 From: George Arama <50641385+gearama@users.noreply.github.com> Date: Mon, 25 Jul 2022 11:25:05 -0700 Subject: [PATCH] Helm charts (#3841) * helm chart * first pipe setup * poi * magiks * ewewe * stress * cleanup * pr * QFE and readme * clang * stupid clang , waste of time * ewqwewewrqrewewrqewrqwrqr * stupid clang * cspell * PR * try try again * clang again --- .../azure-core/test/libcurl-stress-test/CMakeLists.txt | 7 ------- sdk/core/azure-core/test/libcurl-stress-test/Dockerfile | 2 -- .../test/libcurl-stress-test/libcurl_stress_test.cpp | 8 -------- 3 files changed, 17 deletions(-) diff --git a/sdk/core/azure-core/test/libcurl-stress-test/CMakeLists.txt b/sdk/core/azure-core/test/libcurl-stress-test/CMakeLists.txt index 1ef828894e..e802aaa385 100644 --- a/sdk/core/azure-core/test/libcurl-stress-test/CMakeLists.txt +++ b/sdk/core/azure-core/test/libcurl-stress-test/CMakeLists.txt @@ -17,10 +17,3 @@ target_link_libraries(azure-core-libcurl-stress-test PRIVATE azure-core) create_map_file(azure-core-libcurl-stress-test azure-core-libcurl-stress-test.map) file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/Dockerfile DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/) - -find_program(DOCKER_EXECUTABLE docker) -#if docker is found try to build the docker image in the defined docker_build stage which should be run after build -if(DOCKER_EXECUTABLE) - add_custom_target(docker_build - COMMAND ${DOCKER_EXECUTABLE} build --build-arg targetTest=azure-core-libcurl-stress-test --build-arg build=on --tag=azuresdkforcpp/curlstress -f Dockerfile .) -endif() diff --git a/sdk/core/azure-core/test/libcurl-stress-test/Dockerfile b/sdk/core/azure-core/test/libcurl-stress-test/Dockerfile index 9e59c26ffe..1cdc7c7f49 100644 --- a/sdk/core/azure-core/test/libcurl-stress-test/Dockerfile +++ b/sdk/core/azure-core/test/libcurl-stress-test/Dockerfile @@ -14,5 +14,3 @@ RUN chmod +x ./$targetTest RUN apt-get update -y RUN apt-get install valgrind -y -# execute under memcheck tool -RUN valgrind --tool=memcheck -s ./$targetTest $build diff --git a/sdk/core/azure-core/test/libcurl-stress-test/libcurl_stress_test.cpp b/sdk/core/azure-core/test/libcurl-stress-test/libcurl_stress_test.cpp index 7ee9a8f950..698fc6fd8f 100644 --- a/sdk/core/azure-core/test/libcurl-stress-test/libcurl_stress_test.cpp +++ b/sdk/core/azure-core/test/libcurl-stress-test/libcurl_stress_test.cpp @@ -16,13 +16,7 @@ #include #include -#include -#include #include -#include -#include -#include -#include void SendRequest(std::string target) { @@ -36,8 +30,6 @@ void SendRequest(std::string target) { Azure::Core::Context context; - // auto duration = std::chrono::milliseconds(1000); - // auto deadline = std::chrono::system_clock::now() + duration; auto request = Azure::Core::Http::Request(Azure::Core::Http::HttpMethod::Get, Azure::Core::Url(target)); auto response = implementationClient->Send(request, context);