Skip to content

Commit f31a1fc

Browse files
committed
Harden potentially flakey test
..by making sure it a dispatch expected to end will never repeat. Signed-off-by: Mathias L. Baumann <[email protected]>
1 parent 7e1789a commit f31a1fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_frequenz_dispatch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ async def test_dispatch_schedule(
359359
active=True,
360360
duration=timedelta(seconds=10),
361361
type="TEST_TYPE",
362+
recurrence=RecurrenceRule(),
362363
)
363364
await test_env.client.create(**to_create_params(test_env.microgrid_id, sample))
364365
# Get the initial dispatch state from the client to use as a base for comparison

0 commit comments

Comments
 (0)