Skip to content

Commit

Permalink
[DE-874] Release 4.0.0 - rerun flaky tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michalpierog committed Jun 25, 2024
1 parent b6bd8b7 commit 7ea7f05
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: |
mvn install
cd tests
mvn --batch-mode --update-snapshots verify --fail-at-end
mvn --batch-mode --update-snapshots verify -Dsurefire.rerunFailingTestsCount=3 --fail-at-end
- name: Publish Test Report
if: success() || failure()
uses: scacap/action-surefire-report@v1
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ void shouldPauseActiveSubscription() throws IOException, ApiException {
assertThat(pausedSubscription).usingRecursiveComparison()
.ignoringFields("state", "updatedAt", "onHoldAt", "prepaidDunning",
"productPricePointType", "dunningCommunicationDelayEnabled",
"customer.countryName", "customer.stateName")
"customer.countryName", "customer.stateName", "customer.locale")
.isEqualTo(subscription);
assertThat(pausedSubscription.getState()).isEqualTo(SubscriptionState.ON_HOLD);
assertThat(pausedSubscription.getUpdatedAt()).isAfter(timestamp);
Expand All @@ -55,7 +55,7 @@ void shouldPauseActiveSubscriptionSettingAutomaticallyResumeAt() throws IOExcept
assertThat(pausedSubscription).usingRecursiveComparison()
.ignoringFields("state", "updatedAt", "onHoldAt", "prepaidDunning",
"productPricePointType", "automaticallyResumeAt", "dunningCommunicationDelayEnabled",
"customer.countryName", "customer.stateName")
"customer.countryName", "customer.stateName", "customer.locale")
.isEqualTo(subscription);
assertThat(pausedSubscription.getState()).isEqualTo(SubscriptionState.ON_HOLD);
assertThat(pausedSubscription.getUpdatedAt()).isAfter(timestamp);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ void shouldRetryFailedSubscription() throws IOException, ApiException {
// then
assertThat(retriedSubscription).usingRecursiveComparison()
.ignoringFields("productPricePointType", "prepaidDunning", "updatedAt",
"dunningCommunicationDelayEnabled", "customer.countryName", "customer.stateName")
"dunningCommunicationDelayEnabled", "customer.countryName", "customer.stateName", "customer.locale")
.isEqualTo(subscription);
}

Expand Down

0 comments on commit 7ea7f05

Please sign in to comment.