Skip to content

Conversation

@xjlgod
Copy link
Contributor

@xjlgod xjlgod commented Jul 14, 2025

  • I have registered the PR changes.

Ⅰ. Describe what this PR did

opt: optimize druid 1.2.12 ci. The previous pr had the wrong way of getting the environment variables

Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

// Unit test triggered a bug in Druid, see the issue https://github.com/alibaba/druid/issues/4936
String skipTests = System.getProperty("skip_druid_tests", "true");
return Boolean.parseBoolean(skipTests);
String enable = System.getenv("ENABLE_DRUID_TEST");
Copy link
Contributor

Choose a reason for hiding this comment

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

You should use @EnabledIfSystemProperty(named = "druid.version", matches = "1.2.12") to skip the unit test.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have modified, and my local ci had passed
image

Copy link
Contributor

@funky-eyes funky-eyes left a comment

Choose a reason for hiding this comment

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

LGTM

@funky-eyes funky-eyes added this to the 2.5.0 milestone Jul 15, 2025
@funky-eyes funky-eyes changed the title opt: optimize druid 1.2.12 ci optimize: optimize druid 1.2.12 ci Jul 15, 2025
@xjlgod xjlgod merged commit 14802ba into apache:2.5.0 Jul 15, 2025
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.

2 participants