Skip to content

Commit 5d37033

Browse files
Increase sampling rate for a flaky test
The test fails when it is run in the CI, increasing the sampling won't solve the problem, just it will fail less ofter. There are already two different open issues to address and fix these flaky tests. See the links below: #249 #70 Signed-off-by: Daniel Zullo <[email protected]>
1 parent 3bc00be commit 5d37033

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/timeseries/_formula_engine/test_formula_composition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ async def test_formula_composition( # pylint: disable=too-many-locals
2323
mocker: MockerFixture,
2424
) -> None:
2525
"""Test the composition of formulas."""
26-
mockgrid = MockMicrogrid(grid_side_meter=False, sample_rate_s=0.05)
26+
mockgrid = MockMicrogrid(grid_side_meter=False, sample_rate_s=0.1)
2727
mockgrid.add_batteries(3)
2828
mockgrid.add_solar_inverters(2)
2929
await mockgrid.start(mocker)

0 commit comments

Comments
 (0)