Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix intergration test #1426

Merged
merged 4 commits into from
Dec 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading