Closed remulasce closed 9 years ago
Update: It's kind of reproducible. Seems to happen at every long duration close. In this state, adding a new servicerequest does work correctly, ie the new request gets updates and such. GetRequestedInterval seems to be maxing at 30s
Checking timeSinceLastUpdate. If the thing is stuck in update=true, it will always return 0.
In debugger, trackinglist has 0. So predictions aren't getting added again on load.
Looks like the save/restore requests method wasn't actually setting the requests to track again on load. Enhanced lifecycle-management looks to have fixed the issue.
Obviously, the point is to actually test for this now. Reopening.
Test strategy:
Test is in. Didn't actually serialize because it's not cross-platform. Instead, just keep a reference to it, assume serialize function works, and put unit tests on that.
Ran into possible issue with stops not getting updates, or stops not adding newly available arrivals. So I'd like a test to make sure that happens.