Skip to content

PHOENIX-7779: move phoenix-queryserver to jUnit5.#189

Merged
richardantal merged 5 commits intoapache:masterfrom
alexadunai:PHOENIX-7781
Apr 14, 2026
Merged

PHOENIX-7779: move phoenix-queryserver to jUnit5.#189
richardantal merged 5 commits intoapache:masterfrom
alexadunai:PHOENIX-7781

Conversation

@alexadunai
Copy link
Copy Markdown
Contributor

Sub-task of PHOENIX-7779, updating jUnit to 5.10.2 for phoenix-queryserver all subcomponents.

Copy link
Copy Markdown
Contributor

@richardantal richardantal left a comment

Choose a reason for hiding this comment

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

This change looks quite good
Please do these small changes in ParameterizedPhoenixCanaryToolIT

if(needsNewCluster()) {
setClientSideNamespaceProperties();
setServerSideNamespaceProperties();
if(needsNewCluster(isNamespaceEnabled)) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we use this.isNamespaceEnabled instead of passing parameters?

"resultSinkOption" + this.resultSinkOption);
"isPositiveTestType" + isPositiveTestType +
"isNamespaceEnabled" + isNamespaceEnabled +
"resultSinkOption" + resultSinkOption);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

NIT
This is not related to your change, but it would be nice to add extra spaces to make this LOG line readable

@Before
public void setup() throws Exception {
public void setup(
Boolean isPositiveTestType, Boolean isNamespaceEnabled, String resultSinkOption) throws Exception {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we use this.isNamespaceEnabled, this.resultSinkOption and this.isPositiveTestType instead of passing parameters?
This applies to most of the places where we use isNamespaceEnabled, resultSinkOption and isPositiveTestType this file.

Copy link
Copy Markdown
Contributor

@richardantal richardantal left a comment

Choose a reason for hiding this comment

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

Looks Good To Me

Thank you for the fix!

@richardantal richardantal merged commit cc84e6f into apache:master Apr 14, 2026
1 check passed
Asmoday pushed a commit to arenadata/phoenix-queryserver that referenced this pull request Apr 17, 2026
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