diff options
author | Sergey Simonenko <sergey.simonenko@zabbix.com> | 2022-01-13 13:52:26 +0300 |
---|---|---|
committer | Sergey Simonenko <sergey.simonenko@zabbix.com> | 2022-01-13 13:52:26 +0300 |
commit | 7c10959f5e891c2bd2f84a47a28c65abdb09abe8 (patch) | |
tree | 8f5311b20fbd697142ffbe00ccecd75ad143ac66 /tests | |
parent | 5fadc2d7586fb4346cf92adb84af4b2061aa7522 (diff) |
........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.yaml | 10 |
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 ... |