This is an automated email from the ASF dual-hosted git repository. Caideyipi pushed a commit to branch codex/fix-pipe-rejected-start-test-20261106 in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 1553723a6489d9a10ddc76b44f38b92c8b965136 Author: Caideyipi <[email protected]> AuthorDate: Fri Nov 6 11:38:19 2026 +0800 Stub rejected submissions before registering pipe subtasks --- .../org/apache/iotdb/db/pipe/agent/task/PipeSubtaskExecutorTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/pipe/agent/task/PipeSubtaskExecutorTest.java b/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/pipe/agent/task/PipeSubtaskExecutorTest.java index ad12f4871a7..a6ac405e130 100644 --- a/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/pipe/agent/task/PipeSubtaskExecutorTest.java +++ b/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/pipe/agent/task/PipeSubtaskExecutorTest.java @@ -124,8 +124,9 @@ public abstract class PipeSubtaskExecutorTest { */ @Test public void testStartWithRejectedSubmission() { - executor.register(subtask); + // Processor registration starts workers that also invoke this spy. Stub it before sharing it. Mockito.doThrow(new RejectedExecutionException()).when(subtask).submitSelf(); + executor.register(subtask); try { executor.start(subtask.getTaskID());
