SEPURI-SAI-KRISHNA commented on PR #13343:
URL: https://github.com/apache/seatunnel/pull/13343#issuecomment-7058006713

   @SEZ9 answers to your two questions from #13319:
   
   1. **Original assertions.** Yes. 
`testThreadShareTaskInitFailureCompletesTheGroup` still asserts that the group 
completes `FAILED` with the injected `init()` error in its message and that no 
task after the failing one is initialized, with the failing task first and 
second. The NPE fails the test too: on dev, `result.get` throws an 
`ExecutionException` caused by the `NullPointerException` from 
`LinkedBlockingDeque.add`.
   2. **Modes.** The test runs in `PART`, and that covers `ALL` as well. The 
mode only decides which tasks go to `submitThreadShareTask`, where the fix is: 
`ALL` sends every task, `PART` the tasks whose `isThreadsShare()` is true. All 
three test tasks return true, so `PART` hands it the same tasks as `ALL`. `OFF` 
never takes that path.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to