Skip to content

Failing test under specific time conditions on FE2 #1734

@matteosz

Description

@matteosz

Description (Actual behavior)

The test cannotChooseStartTimeTooFarInPast (ElectionSetupFragmentTest.kt) fails consistently when executed between 00:00 and 00:09am.

Expected behavior

The test shouldn't be failing anytime.

How to reproduce

Execute this test in the specified time.

Impact

Minimal to none impact (time window of the test failing is late in the night and narrow)

Possible root cause

There are 2 possibilities to investigate:

  1. The logic tested is not robust in the time going during 00:00 and 00:09. This means that the test discovered an implementation bug and it should be fixed
  2. The test logic is flaky and doesn't reproduce an expected behaviour

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions