-
-
Notifications
You must be signed in to change notification settings - Fork 888
Build fix – Fixed flaky tests #2145
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
Conversation
vnandwana
commented
Jul 15, 2025
- Rebased to latest master.
- Replaced references to ConfigurationObjectFactory with AugmentedConfigurationObjectFactory where applicable.
This reverts commit 70bafbd.
…ild test loads correct catalog instead of parent’s default. * Restored original system property in afterClass to avoid affecting other tests.
…red repo (this has -U flag).
…o null -- now its set to a mock object instead of null.
This reverts commit 70bafbd.
* Updated ci.yml, overridden ff-goal value.
|
|
||
| @Override | ||
| @BeforeClass(groups = "fast") | ||
| public void beforeClass() throws Exception { |
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.
Just for my understanding: Any rationale for why this is needed now? If we don't have this, do the tests fail and how its this related to the config work?
|
|
||
| @Override | ||
| @BeforeClass(groups = "fast") | ||
| public void beforeClass() throws Exception { |
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.
If this is needed in all tests, should this be part of SubscriptionTestSuiteNoDB ?
| </JavaCodeStyleSettings> | ||
| <XML> | ||
| <option name="XML_ATTRIBUTE_WRAP" value="0" /> | ||
| <option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" /> |
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.
Is this intended - why?
.idea/misc.xml
Outdated
| <option value="$PROJECT_DIR$/pom.xml" /> | ||
| </list> | ||
| </option> | ||
| <option name="workspaceImportForciblyTurnedOn" value="true" /> |
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.
Is this intended - why?
.github/workflows/ci.yml
Outdated
| uses: killbill/gh-actions-shared/.github/workflows/ci.yml@main | ||
| uses: killbill/gh-actions-shared/.github/workflows/ci.yml@main | ||
| with: | ||
| ff-goal: '-Dsurefire.parallel=none -U clean test verify' |
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.
Does it mean tests used to run in parallel, and not anymore? Any reason for this - and if so how will this impact performance of our CI build?
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.
Thank you for the review comments. These changes were unintentional and were made while trying to fix flaky tests (mostly during local testing). I removed code that's no longer needed.