Description
There are multiple scenarios of failures in our system. We should use REEF.NET Poison (delayed fault injection mechanism) to simulate these scenarios in test and to validate the response of our system to them.
Here is initial list of tests we need to have.
Evaluator Failure
We expect to receive only FailedEvaluator event, no FailedContext and no FailedTask
N | Failure injected at | Additional verification |
---|---|---|
1 | ON_EVALUATOR_ALLOCATED | |
2 | between ON_EVALUATOR_ALLOCATED and ON_CONTEXT_ACTIVE | |
3 | ON_CONTEXT_ACTIVE | FailedEvaluator should have FailedContexts filled |
4 | between ON_CONTEXT_ACTIVE and ON_TASK_RUNNING | FailedEvaluator should have FailedContexts filled |
5 | ON_TASK_RUNNING | FailedEvaluator should have FailedContexts and FailedTask filled |
6 | between ON_TASK_RUNNING and ON_TASK_COMPLETED | FailedEvaluator should have FailedContexts and FailedTask filled |
7 | ON_TASK_COMPLETED | FailedEvaluator should have FailedContexts filled |
8 | after ON_TASK_COMPLETED | race against evaluator completion |