From e60c65fdf4a64025a5c81069fc5646b7ffdb64b4 Mon Sep 17 00:00:00 2001 From: Rahim Kanji Date: Mon, 9 Jan 2023 16:16:48 +0500 Subject: [PATCH] * Removed hard coded env variables * Fixed comments --- .../tests/reg_test_4072-show-warnings-t.cpp | 22 +++---------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/test/tap/tests/reg_test_4072-show-warnings-t.cpp b/test/tap/tests/reg_test_4072-show-warnings-t.cpp index 52fb7c1ff..7b96d6e30 100644 --- a/test/tap/tests/reg_test_4072-show-warnings-t.cpp +++ b/test/tap/tests/reg_test_4072-show-warnings-t.cpp @@ -1,34 +1,18 @@ /** - * @file test_dns_cache-t.cpp - * @brief This test will verify dns cache is working properly. + * @file reg_test_4072-show-warnings-t.cpp + * @brief This test will confirm ProxySQL does not crash if large records are fetched, having warning producing condition in the query. */ #include #include - #include -#include -#include -#include -#include -#include -#include - #include #include - #include "tap.h" #include "command_line.h" -#include "utils.h" -#include +#include "utils.h" int main(int argc, char** argv) { - putenv("TAP_HOST=127.0.0.1"); - putenv("TAP_PORT=6033"); - putenv("TAP_USERNAME=root"); - putenv("TAP_PASSWORD=root"); - putenv("TAP_WORKDIR=./tests/"); - CommandLine cl; if (cl.getEnv()) {