Skip to content

Commit

Permalink
Fixed failed test
Browse files Browse the repository at this point in the history
  • Loading branch information
smirnovaae committed Dec 13, 2024
1 parent 1ed53d7 commit 65dbc36
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,14 +236,15 @@ void verifyCoverage_whenSomeCoverageMissing_fail() {
}

@DisplayName("Verify coverage stops if some coverage periods change drastically")
// @Test
@Test
void verifyCoverage_whenCoverageUnstable_fail() {
ZonedDateTime dateTime = ZonedDateTime.now();
ZonedDateTime dateTime = ZonedDateTime.now().withMonth(9).withDayOfMonth(1);
createCoveragePeriods(dateTime);

contract.setAttestedOn(ZonedDateTime.now().toOffsetDateTime());
contract.setAttestedOn(ZonedDateTime.now().withMonth(9).withDayOfMonth(1).toOffsetDateTime());
contractServiceStub.updateContract(contract);


Set<Identifiers> tenK = new LinkedHashSet<>();
for (long idx = 0; idx < 10000; idx++) {
tenK.add(createIdentifier(idx));
Expand Down

0 comments on commit 65dbc36

Please sign in to comment.