Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test product tests launcher #17875

Merged
merged 5 commits into from
Jun 14, 2023
Merged

Conversation

wendigo
Copy link
Contributor

@wendigo wendigo commented Jun 13, 2023

Replaces #17873

@cla-bot cla-bot bot added the cla-signed label Jun 13, 2023
@wendigo wendigo requested review from kokosing and hashhar June 13, 2023 13:30
@wendigo
Copy link
Contributor Author

wendigo commented Jun 13, 2023

This one is for you @kokosing 😇

@wendigo wendigo force-pushed the serafin/ptl-testing branch from c9cf747 to ccbfad7 Compare June 13, 2023 17:15
@kokosing
Copy link
Member

Nice!

wendigo added 5 commits June 14, 2023 13:24
This parameter is null by default and is only initialized by picocli when the command is invoked.
This prevents regressions where some of the invocations are broken
because of the lack of the dependencies or null derefences.
@wendigo wendigo force-pushed the serafin/ptl-testing branch from ccbfad7 to d01c513 Compare June 14, 2023 12:07
@wendigo wendigo requested a review from kokosing June 14, 2023 15:46
@kokosing kokosing merged commit af79007 into trinodb:master Jun 14, 2023
@github-actions github-actions bot added this to the 420 milestone Jun 14, 2023
@@ -232,7 +230,7 @@ public Execution(
this.outputBuilder = describeOptions.format.outputBuilderFactory.get();

try {
this.out = new PrintStream(new FileOutputStream(FileDescriptor.out), true, Charset.defaultCharset().name());
this.out = new PrintStream(System.out, true, Charset.defaultCharset().name());
Copy link
Member

Choose a reason for hiding this comment

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

I think this is causing to actually write to stderr because of https://github.com/airlift/airlift/blob/master/log-manager/src/main/java/io/airlift/log/Logging.java#L139

This commit should be reverted. Logging to stderr here makes this fail to read any output: https://github.com/trinodb/trino/blob/master/.github/bin/build-pt-matrix-from-impacted-connectors.py#L108
and in result we're always running all PTs in PRs

Copy link
Member

Choose a reason for hiding this comment

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

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

Successfully merging this pull request may close these issues.

3 participants