Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSergey Simonenko <sergey.simonenko@zabbix.com>2022-01-13 14:19:10 +0300
committerSergey Simonenko <sergey.simonenko@zabbix.com>2022-01-13 14:19:10 +0300
commit85de9f8544f31cec6ee6216a81c0da226ba5bc7a (patch)
treeacb2456ab69e9170f9ee256b581dba7c4cab7bb0 /tests
parent6703f9424181d667afc7977acddff3aea21ef735 (diff)
parent02c04af8488fb8ff57b99a1c56510e3d1f21659a (diff)
........S. [ZBX-19456] fixed zero timeshift
* commit '02c04af8488fb8ff57b99a1c56510e3d1f21659a': ........S. [ZBX-19456] added missing Changelog entry ........S. [ZBX-19456] fixed error message ........S. [ZBX-19456] changed zbx_trends_parse_range() behavior for zero time period, added test cases
Diffstat (limited to 'tests')
-rw-r--r--tests/libs/zbxtrends/zbx_trends_parse_range.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/libs/zbxtrends/zbx_trends_parse_range.yaml b/tests/libs/zbxtrends/zbx_trends_parse_range.yaml
index aabcd17d562..782794fe0b3 100644
--- a/tests/libs/zbxtrends/zbx_trends_parse_range.yaml
+++ b/tests/libs/zbxtrends/zbx_trends_parse_range.yaml
@@ -394,4 +394,14 @@ out:
start: 2020-09-07 00:00:00.000000000 +03:00
end: 2020-09-07 00:00:00.000000000 +03:00
return: SUCCEED
+---
+test case: Valid shift '0h'
+in:
+ param: 1h:now-0h
+ timezone: :Europe/Riga
+ time: 2020-09-01 00:00:00.000000000 +03:00
+out:
+ start: 2020-08-31 23:00:00.000000000 +03:00
+ end: 2020-08-31 23:00:00.000000000 +03:00
+ return: SUCCEED
...