Skip to content

Commit

Permalink
Reduce wait time in battery_pool test
Browse files Browse the repository at this point in the history
This test was failing in arm64 runs, because of a large time
difference.  This fixes the issue.

Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
  • Loading branch information
shsms committed Oct 6, 2024
1 parent ecd11b8 commit 0c0563f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/timeseries/_battery_pool/test_battery_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -1306,7 +1306,7 @@ async def run_power_bounds_test( # pylint: disable=too-many-locals

# One inverter stopped sending data, use one remaining inverter
await streamer.stop_streaming(next(iter(bat_invs_map[batteries_in_pool[0]])))
await asyncio.sleep(MAX_BATTERY_DATA_AGE_SEC + 0.2)
await asyncio.sleep(MAX_BATTERY_DATA_AGE_SEC + 0.1)
msg = await asyncio.wait_for(receiver.receive(), timeout=waiting_time_sec)
compare_messages(
msg,
Expand Down

0 comments on commit 0c0563f

Please sign in to comment.