Skip to content

H2ExecutionRepositoryTest.dailyStatistics test is timing-dependant #10214

@yuri1969

Description

@yuri1969

Describe the issue

The H2ExecutionRepositoryTest.dailyStatistics test fails when it gets started past midnight CEST (e.g. from 12:00 AM to 1:00 AM) using the Europe/Prague timezone ID.

The assertThat(result.get(10).getDuration().getAvg().toMillis()).isGreaterThan(0L); assertion fails since the 10th result does not contain any stats (getAvg()) - stats are contained in the previous - 9th - result.

Environment

  • Kestra Version: develop

Metadata

Metadata

Assignees

Labels

area/backendNeeds backend code changesbugSomething isn't working

Type

Projects

Status

In review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions