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

OptimizedPostProcessorTest failing #146

Closed jacomago closed 1 year ago

jacomago commented 1 year ago

Test case testPPLessPointsThanRequested is failing.

This is due to the Optimized.java Post Processor returning a ArrayListCollectorEventStream which throws a ChangeInYearsException from the first iteration.

I don't think iterators should throw exceptions, rather processing the data from the iterator could throw an exception. So one possible fix is the simply remove the ChangeInYearsException for a warning log instead. That way problems can still be detected without dropping the whole process.