DanielLeens opened a new pull request, #13474: URL: https://github.com/apache/seatunnel/pull/13474
### Purpose of this pull request Yes, I am contributing this test-fixture fix to Apache SeaTunnel. The Kubernetes recovery E2E can abort while waiting for its first worker output because an empty successful Pod-log response is returned as `null`. In the [November 24 resource-manager job](https://github.com/apache/seatunnel/actions/runs/45443731969/job/138634464118), `KubernetesApplicationRecoveryIT` failed at line 65 with `NullPointerException` when calling `livePodLogs(first, worker).contains(marker)`. The build was for the unrelated GoldenDB JDBC change #13287. Normalize a null successful response to an empty string in the test-only `retainedPodLogs` helper. The existing marker assertion then retries within its existing timeout, just as it already does when logs are temporarily unavailable with HTTP 400/404. Terminal application states and other API errors still fail. The restored-worker non-empty-log assertion and durable-checkpoint/no-replay checks remain intact. The helper and recovery fixture were introduced by #12460 (`662fbf70d001bd071f4b90e7bd305904481d95ab`). No production code, dependencies, POMs, timeouts or assertions change. ### Does this PR introduce any user-facing change? No. This affects Kubernetes E2E log readiness only. ### How was this patch tested? - Passed JDK 17 formatting: `./mvnw -f seatunnel-e2e/seatunnel-resource-managers-e2e/pom.xml -nsu -Dmaven.gitcommitid.skip=true spotless:apply spotless:check`. - Passed `git diff --check`; reviewed every use of the log helper. - Independent automated source review found no blocking findings and confirmed the empty-body behavior in the module's Kubernetes client 19.0.1 dependency. - Local compilation, tests, E2E and Docker were not run under the workspace's SeaTunnel validation policy. No build artifacts were reused and no UI validation applies. GitHub CI on this PR commit must validate the resource-manager tests; runtime verification is pending. ### Check list - [x] Production behavior, configuration compatibility, registrations and existing test assertions are preserved. - [x] No timeout increases, test skips or new dependencies. -- 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]
