archiver-appliance / epicsarchiverap

This is an implementation of an archiver for EPICS control systems that aims to archive millions of PVs.
Other
38 stars 37 forks source link

Fix PlainPBFileNameUtilityTest #145

Closed jacomago closed 1 year ago

jacomago commented 1 year ago

Test was failing due to incorrect data logic in the test. In Monthly test, 12 entries were created but expected November to be the last month. Now creates 11 entries. In Yearly test, the "curr" variable was tracking the year of the last file + one. So a modification was made to check the year minus one. Similarly with the endTime variable.