diff --git a/worker/src/test/java/gov/cms/ab2d/worker/processor/coverage/CoverageCheckIntegrationTest.java b/worker/src/test/java/gov/cms/ab2d/worker/processor/coverage/CoverageCheckIntegrationTest.java index f10e02dfa..571e68a22 100644 --- a/worker/src/test/java/gov/cms/ab2d/worker/processor/coverage/CoverageCheckIntegrationTest.java +++ b/worker/src/test/java/gov/cms/ab2d/worker/processor/coverage/CoverageCheckIntegrationTest.java @@ -238,12 +238,13 @@ void verifyCoverage_whenSomeCoverageMissing_fail() { @DisplayName("Verify coverage stops if some coverage periods change drastically") // @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 tenK = new LinkedHashSet<>(); for (long idx = 0; idx < 10000; idx++) { tenK.add(createIdentifier(idx));