Findwise/Hydra

AbstractProcessStage should have a test for when processing can't be cancelled

Closed this issue · 1 comments

Test for:
A stage process() method never returns and a processingTimeout is set. The processing can't be cancelled, so the stage should destroy its JVM.

There is a TODO in AbstractProcessStageTest that this is not tested.

There is an interface StageKiller that can be used to inject a non-JVM-killing mock to use for this test.

Closed by #286