Skip to content

[Pipe] Relax flaky TsFile event test timeouts - #18332

Merged
jt2594838 merged 1 commit into
apache:masterfrom
Caideyipi:fix/flaky-pipe-tsfile-test-timeouts
Jul 29, 2026
Merged

[Pipe] Relax flaky TsFile event test timeouts#18332
jt2594838 merged 1 commit into
apache:masterfrom
Caideyipi:fix/flaky-pipe-tsfile-test-timeouts

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Description

The Windows DataNode unit-test job can run under heavy memory and CPU pressure. PipeTsFileInsertionEventAdmissionTest had a 10-second whole-method timeout, and the observed failure timed out on the first CommonDescriptor.getInstance() call during class initialization, before the parser-admission logic ran. The same JVM also reported OutOfMemoryError: Java heap space from Surefire's stream flusher.

Raise the outer safety timeout to 60 seconds for the two Pipe TsFile event tests that used 5/10-second whole-method limits. The admission test's behavior checks remain strict and unchanged: it still verifies the parser stays blocked for 200 ms and resumes within 3 seconds after memory is released.

Verification

  • DataNode Spotless: passed
  • DataNode Checkstyle: 0 violations
  • git diff --check: passed

The local targeted Maven run was blocked during reactor compilation because the installed Thrift 0.14.1 compiler generates javax.annotation.Generated sources on JDK 17. The PR CI uses the supported build environment and will provide the test result.

@jt2594838
jt2594838 merged commit 55a53f6 into apache:master Jul 29, 2026
41 checks passed
@jt2594838
jt2594838 deleted the fix/flaky-pipe-tsfile-test-timeouts branch July 29, 2026 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants