Skip to content

Conversation

@adutra
Copy link
Contributor

@adutra adutra commented Jan 15, 2025

For now, some tests will fail due to #769.

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 removed this test from the test directory but left the others, because this one is a bit more heavy-weight.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is required for now, but a bit unfortunate. I will look into making the test profile converge towards the prod profile later on.

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggestion: if tests can work with the same server, it might be an option to rung them via a JUnit5 "suite". This way we can have only one class that references the package of tests from polaris-test and also leverage JUnit5 parallelism as opposed to Gradle test parallelism.

I did not do that under DW only because it was hard to share DW servers between test threads. Now, it looks like all tests are segregated by in entity names and servers are in a separate JVM... so it might work :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmm I haven't used JUnit5 suites. Mind if we do your suggestion in another PR?

Copy link
Contributor

Choose a reason for hiding this comment

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

absolutely (it's one additional dependency for the "suite" engine, by the way)

@adutra adutra enabled auto-merge (squash) January 15, 2025 15:42
@adutra adutra merged commit d7c07dd into apache:main Jan 15, 2025
5 checks passed
@adutra adutra deleted the int-tests branch January 15, 2025 15:54
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