Skip to content

Commit

Permalink
Fix intergration test (#1426)
Browse files Browse the repository at this point in the history
## 🎫 Ticket

https://jira.cms.gov/browse/...

## 🛠 Changes

Updated integration test for worker

## ℹ️ Context

<!-- Why were these changes made? Add background context suitable for a
non-technical audience. -->

<!-- If any of the following security implications apply, this PR must
not be merged without Stephen Walter's approval. Explain in this section
and add @SJWalter11 as a reviewer.
  - Adds a new software dependency or dependencies.
  - Modifies or invalidates one or more of our security controls.
  - Stores or transmits data that was not stored or transmitted before.
- Requires additional review of security implications for other reasons.
-->

## 🧪 Validation

<!-- How were the changes verified? Did you fully test the acceptance
criteria in the ticket? Provide reproducible testing instructions and
screenshots if applicable. -->
  • Loading branch information
smirnovaae authored Dec 13, 2024
1 parent 51a98d2 commit 978a671
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<Identifiers> tenK = new LinkedHashSet<>();
for (long idx = 0; idx < 10000; idx++) {
tenK.add(createIdentifier(idx));
Expand Down

0 comments on commit 978a671

Please sign in to comment.