Skip to content

Conversation

@nastra
Copy link
Contributor

@nastra nastra commented Oct 18, 2022

This has been added a while ago by #1212 but then got removed by #2013. Sometimes it's quite helpful to know whether a particular test has been executed on CI by looking at the Gradle output

This PR makes sure that the executed tests are only shown on CI and not during local test execution.

@rdblue do you see any major drawback to doing this (other than having bigger log files)? I've been multiple times in the past in a situation where I wanted to double-check that a particular test has been really part of CI.
The most recent case was after I added some integration tests with #6001. It would have been quite useful to know that those integration tests have been executed as part of CI - currently you can only see that the integrationTest task has been running, but you don't have a way of knowing that the test(s) have been executed.

This has been added a while ago by apache#1212 but then got lost over time.
Sometimes it's quite helpful to know whether a particular test has been
executed on CI.

This PR makes sure that the executed tests are only shown on CI and not
during local test execution.
@github-actions github-actions bot added the build label Oct 18, 2022
@rdblue
Copy link
Contributor

rdblue commented Oct 21, 2022

The only drawback I can think of is if this makes tests take longer. I'd probably not do this since it sounds like you can work around this for cases where you need to. If you want to make sure an integration test ran, then do that once rather than doing this all the time.

@nastra nastra closed this Oct 21, 2022
@nastra nastra deleted the print-test-names-on-ci branch October 21, 2022 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants