Skip to content

Commit

Permalink
tests: increase data size for limits check
Browse files Browse the repository at this point in the history
  • Loading branch information
msaf1980 committed Nov 5, 2022
1 parent 74a9d4e commit 3308f78
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/error_handling/graphite-clickhouse.conf.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
8 changes: 4 additions & 4 deletions tests/error_handling/test.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]]
Expand All @@ -106,15 +106,15 @@ 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"
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"
Expand All @@ -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"
Expand Down

0 comments on commit 3308f78

Please sign in to comment.