Details
-
Type:
Improvement
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ts_integration
-
Labels:None
-
Story Points:2
-
Epic Link:
-
Sprint:TSSW Sprint - Sep 26 - Oct 10
-
Team:Telescope and Site
Description
Patrick suggested that adding a test to compare the actual runtime of the script to the estimated duration of the script.
Estimated duration is defined in each script as the metadata.duration attribute and published by the Script_logevent_metadata topic.
Actual runtime can be calculated with different in the timestampProcessStart attribute of the ScriptQueue_logevent_script topic (as the start time) and the private_sndStamp attribute of the last Script_logevent_state event (as the end time) for the given script.
https://github.com/lsst-ts/robotframework_EFD/tree/tickets/DM-36427