Skip to content

Commit 6f47752

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 3119d36 commit 6f47752

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
@@ -358,6 +358,7 @@ async def test_dispatch_schedule(
358358
active=True,
359359
duration=timedelta(seconds=10),
360360
type="TEST_TYPE",
361+
recurrence=RecurrenceRule(),
361362
)
362363
await test_env.client.create(**to_create_params(test_env.microgrid_id, sample))
363364
# Get the initial dispatch state from the client to use as a base for comparison

0 commit comments

Comments
 (0)