Skip to content

Commit 76182fe

Browse files
committed
tests: fuzzer: distribute the scheduled trains over a whole day
This adds more variety to the stdcm test cases
1 parent db71909 commit 76182fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/fuzzer/fuzzer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ def make_payload_schedule(base_url: str, infra: int, path: int, rolling_stock: i
456456
{
457457
"train_name": "foo",
458458
"labels": [],
459-
"departure_time": 0,
459+
"departure_time": random.randint(0, 3600 * 24),
460460
"allowances": make_random_allowances(path_length),
461461
"initial_speed": 0,
462462
"rolling_stock": rolling_stock,

0 commit comments

Comments
 (0)