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 0432a12d6..e32cc02fe 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 @@ -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 tenK = new LinkedHashSet<>(); for (long idx = 0; idx < 10000; idx++) { tenK.add(createIdentifier(idx));