-
Notifications
You must be signed in to change notification settings - Fork 44
WIP: Add integration test configuration for YubagyteDB version 2025 #3338
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,7 +27,7 @@ protected Properties getProperties(String testName) { | |
|
|
||
| @Override | ||
| protected int getThreadNum() { | ||
| if (JdbcTestUtils.isOracle(rdbEngine)) { | ||
| if (JdbcTestUtils.isOracle(rdbEngine) || JdbcTestUtils.isYugabyte(rdbEngine)) { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The condition Example in public static boolean isSingleThreadedForTest(RdbEngineStrategy rdbEngine) {
return isOracle(rdbEngine) || isYugabyte(rdbEngine);
}Then you can simplify this to: if (JdbcTestUtils.isSingleThreadedForTest(rdbEngine)) { |
||
| return 1; | ||
| } | ||
| return super.getThreadNum(); | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,7 +26,7 @@ protected Properties getProperties(String testName) { | |
|
|
||
| @Override | ||
| protected int getThreadNum() { | ||
| if (JdbcTestUtils.isOracle(rdbEngine)) { | ||
| if (JdbcTestUtils.isOracle(rdbEngine) || JdbcTestUtils.isYugabyte(rdbEngine)) { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This condition is duplicated in // in JdbcTestUtils.java
public static boolean isSingleThreadedForTest(RdbEngineStrategy rdbEngine) {
return isOracle(rdbEngine) || isYugabyte(rdbEngine);
}This would allow you to simplify the condition here and in the other test class. |
||
| return 1; | ||
| } | ||
| return super.getThreadNum(); | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR description is still the default template/WIP and doesn't explain the motivation, scope, or how to validate these CI changes. Please update the PR description (especially the 'Description', 'Changes made', and testing/validation notes) so reviewers can assess the impact of adding YugabyteDB 2025 coverage.