From 3308f7839e457e7ff41f2c5b74523f21fae748e4 Mon Sep 17 00:00:00 2001 From: msaf1980 Date: Wed, 19 Oct 2022 23:45:19 +0500 Subject: [PATCH] tests: increase data size for limits check --- tests/error_handling/graphite-clickhouse.conf.tpl | 2 +- tests/error_handling/test.toml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/error_handling/graphite-clickhouse.conf.tpl b/tests/error_handling/graphite-clickhouse.conf.tpl index 40ed5aff7..8e725ca80 100644 --- a/tests/error_handling/graphite-clickhouse.conf.tpl +++ b/tests/error_handling/graphite-clickhouse.conf.tpl @@ -16,7 +16,7 @@ query-params = [ data-timeout = "5s" }, { - duration = "2h", + duration = "7h", url = "{{ .PROXY_URL }}/?max_memory_usage=1&max_memory_usage_for_user=1&readonly=2&log_queries=1", data-timeout = "5s" } diff --git a/tests/error_handling/test.toml b/tests/error_handling/test.toml index 2d8413518..b9e10bb44 100644 --- a/tests/error_handling/test.toml +++ b/tests/error_handling/test.toml @@ -85,7 +85,7 @@ error_regexp = "^504: Storage read timeout" name = "test.long" points = [ {value = 3.0, time = "now-30"}, {value = 0.0, time = "now-20"}, {value = 1.0, time = "now-10"}, {value = 2.0, time = "now"}, - {value = 3.0, time = "now-7200"}, {value = 3.0, time = "now-3600"} + {value = 3.0, time = "now-14400"}, {value = 3.0, time = "now-3600"} ] [[test.render_checks]] @@ -106,7 +106,7 @@ values = [1.0, 2.0] # Check addional queryparam (storage read limit) [[test.render_checks]] -from = "now-7190" +from = "now-14200" until = "now" targets = [ "test.long" ] timeout = "5s" @@ -114,7 +114,7 @@ error_regexp = "^403: Storage read limit for rows" # Check data-timeout on addional queryparam [[test.render_checks]] -from = "now-7190" +from = "now-14200" until = "now" targets = [ "test.long" ] timeout = "2s" @@ -123,7 +123,7 @@ error_regexp = "^504: Storage read timeout" # Check addional queryparam (storage read limit) [[test.render_checks]] -from = "now-14400" +from = "now-36000" until = "now" targets = [ "test.long" ] timeout = "5s"