Update tests

This commit is contained in:
2026-09-16 14:52:39 +03:00
parent 213f9d5d2a
commit a969730de1
2 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ trafficGraph :: GraphSpec
trafficGraph = trafficGraph =
GraphSpec GraphSpec
{ gsName = "traffic" { gsName = "traffic"
, gsTitle = "Traffic" , gsTitle = "Hass triggers in / services out"
, gsPlots = , gsPlots =
[ Line 2 Series [ Line 2 Series
{ serSource = Source "hass_trigger_in" Average { serSource = Source "hass_trigger_in" Average
+6 -6
View File
@@ -83,12 +83,12 @@ spec = do
, "--width", "800" , "--width", "800"
, "--height", "250" , "--height", "250"
, "--imgformat", "PNG" , "--imgformat", "PNG"
, "DEF:trig=hass-controller.rrd:hass_trigger_in:AVERAGE" , "DEF:in_raw=hass-controller.rrd:hass_trigger_in:AVERAGE"
, "CDEF:trig_min=trig,60,*" , "CDEF:in=in_raw,60.0,*"
, "DEF:svc=hass-controller.rrd:hass_service_out:AVERAGE" , "DEF:out_raw=hass-controller.rrd:hass_service_out:AVERAGE"
, "CDEF:svc_min=svc,60,*" , "CDEF:out=out_raw,60.0,*"
, "LINE2:trig_min#0066cc:triggers in/min" , "LINE2:in#0066cc:Triggers in/min"
, "LINE2:svc_min#cc0000:services out/min" , "LINE2:out#cc0000:Service calls out/min"
] ]
describe "end-to-end (rrdtool-gated)" $ do describe "end-to-end (rrdtool-gated)" $ do