Test harness for advanced Composed Task scenarios
sabbyanandan opened this issue · comments
Sabby Anandan commented
The goal is to increase the coverage from 3 -> 50!
- testFailedGraph
failedStep && AAA
- testEmbeddedFailedGraph
AAA && failedStep && BBB
- testSequential
AAA && BBB && CCC
- splitTest
<AAA||BBB||CCC>
- nestedSplit
<<AAA || BBB > && CCC || DDD>
- twoSplitTest
<AAA||BBB||CCC> && <DDD||EEE>
- testSequentialAndSplit
AAA && <BBB||CCC||DDD> && EEE
- testSequentialTransitionAndSplit
AAA && FFF 'FAILED' -> EEE && <BBB||CCC> && DDD
- testSequentialTransitionAndSplitFailedInvalid
AAA && failedStep 'FAILED' -> EEE && FFF && <BBB||CCC> && DDD
should fail - testSequentialAndFailedSplit
AAA && <BBB||failedStep||DDD> && EEE
- testSequentialAndSplitWithFlow
AAA && <BBB && FFF||CCC||DDD> && EEE
- testFailedBasicTransition
failedStep 'FAILED' -> AAA * -> BBB
- testSuccessBasicTransition
AAA 'FAILED' -> BBB * -> CCC
- testSuccessBasicTransitionWithTransition
AAA 'FAILED' -> BBB && CCC 'FAILED' -> DDD '*' -> EEE
- testSequenceFollowedBySuccessBasicTransitionSequence
DDD && AAA 'FAILED' -> BBB * -> CCC && EEE
should fail - testWildCardOnlyInLastPosition
AAA 'FAILED' -> BBB && CCC * -> DDD
- testFailedGraphRetry:
failedStep && AAA
run execution, retry execution in which it will upon 2nd try failedStep succeeds. - testEmbeddedFailedGraph
AAA && failedStep && BBB
run execution, retry execution in which it will upon 2nd try failedStep succeeds. - testSequentialAndFailedSplitRetry
AAA && <BBB||failedStep||DDD> && EEE
run execution, retry execution in which it will upon 2nd try failedStep succeeds. - testSequentialRetry
AAA && BBB && CCC
run execution, retry execution in which it will upon 2nd try it will fails. - pass CTR properties with invalid values. unaccessible urls for hosts, negative numbers for threads etc.
Glenn Renfro commented
Linking this issue to spring-cloud/spring-cloud-dataflow-samples#140. This issue's result will provide a task batch application that will allow users to test Composed Tasks, task, and batch failures.