Module: check_mk
Branch: master
Commit: 898dc2bc8717d7825231c4975a7f518e38b9fd4f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=898dc2bc8717d7…
Author: Óscar Nájera <on(a)mathias-kettner.de>
Date: Tue Apr 9 14:03:52 2019 +0200
Fix integration test get_rrddata data limits
Change-Id: I7d0afc06d8d22cecb2cd783d9ecbd21261f46f7a
---
tests/integration/cmk_base/test_services_prediction.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/integration/cmk_base/test_services_prediction.py
b/tests/integration/cmk_base/test_services_prediction.py
index a5a279b..ff67a18 100644
--- a/tests/integration/cmk_base/test_services_prediction.py
+++ b/tests/integration/cmk_base/test_services_prediction.py
@@ -89,7 +89,7 @@ def test_get_rrd_data(cfg_setup, utcdate, timezone, period, result):
@pytest.mark.parametrize("max_entries, result", [(400, (180, 401)), (20, (3600,
21)),
- (50, (1800, 41)), (1000, (120, 600)),
+ (50, (1440, 51)), (1000, (120, 600)),
(1200, (60, 1200))])
def test_get_rrd_data_point_max(cfg_setup, max_entries, result):
from_time, until_time = 1543430040, 1543502040