Skip to content

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

Open
alexadunai wants to merge 4 commits intoapache:masterfrom
alexadunai:PHOENIX-7781
Open

PHOENIX-7779: move phoenix-queryserver to jUnit5.#189
alexadunai wants to merge 4 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.

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