Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

pvary
Copy link
Contributor

@pvary pvary commented Jul 22, 2025

I often face a situation where the Flink test is stuck in an infinite loop.
Last time it happened with TestFlinkUpsert.

This PR adds the timeout to the test, and also adds stop/start logs to the CI output, so it is easier to find the stuck tests.

build.gradle Outdated

testLogging {
events "failed"
events "started", "passed", "skipped", "failed"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I remember that #1210 added more output logging, which was immediately reverted by #1212, so we might be a little cautious with having too much output

Copy link
Contributor

@nastra nastra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but I would be cautious with having too much logging output now. Maybe we can try this for a week and see if it adds too much noise or not

@pvary
Copy link
Contributor Author

pvary commented Jul 23, 2025

LGTM, but I would be cautious with having too much logging output now. Maybe we can try this for a week and see if it adds too much noise or not

Added a CI check before the config change, so user builds are not affected:

      // Check if running on CI environment
      if (System.getenv('CI') != null) {
        // More verbose logging for CI environments
        events "started", "passed", "skipped", "failed"
      } else {
        events "failed"
      }

@pvary pvary merged commit 39e8568 into apache:main Jul 23, 2025
43 checks passed
@pvary
Copy link
Contributor Author

pvary commented Jul 23, 2025

Merged to main.
Thanks for the review @nastra, @Guosmilesmile, @mxm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants