This is an automated email from the ASF dual-hosted git repository.
lxy-9602 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/paimon-cpp.git
The following commit(s) were added to refs/heads/main by this push:
new b9b53f2c test(executor): clear moved-from submission callbacks (#442)
b9b53f2c is described below
commit b9b53f2c4656c10c98268742cf053efd93fba3fe
Author: Aaron Wu <[email protected]>
AuthorDate: Thu Oct 22 17:44:15 2026 +0800
test(executor): clear moved-from submission callbacks (#442)
---
src/paimon/common/executor/executor_submission_test.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/paimon/common/executor/executor_submission_test.cpp
b/src/paimon/common/executor/executor_submission_test.cpp
index a735bac3..e7ace974 100644
--- a/src/paimon/common/executor/executor_submission_test.cpp
+++ b/src/paimon/common/executor/executor_submission_test.cpp
@@ -92,6 +92,7 @@ SubmissionResult Submit(uint32_t workers, int32_t ordinal,
bool recover, bool sh
caught = true;
}
}
+ task = nullptr;
SubmissionResult result = {allocations, fired, caught, false,
retained.expired(), 0};
if (recover) {
executor->Add(std::move(recovery));
@@ -165,6 +166,7 @@ TEST(ExecutorSubmissionTest,
QueueAllocationFailurePreservesAcceptedPrefix) {
caught = true;
}
}
+ task = nullptr;
if (fired) {
hit = true;
released = retained[accepted].expired();