Skip to content

Commit cda8210

Browse files
Increase sampling rate in the flaky formula test (#251)
.. so it fails less frequently This tests fails randomly and should be fixed soon.
2 parents afef47d + b0b6175 commit cda8210

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
@@ -135,7 +135,7 @@ async def test_formula_composition_missing_bat(self, mocker: MockerFixture) -> N
135135

136136
async def test_3_phase_formulas(self, mocker: MockerFixture) -> None:
137137
"""Test 3 phase formulas current formulas and their composition."""
138-
mockgrid = MockMicrogrid(grid_side_meter=False)
138+
mockgrid = MockMicrogrid(grid_side_meter=False, sample_rate_s=0.05)
139139
mockgrid.add_batteries(3)
140140
mockgrid.add_ev_chargers(1)
141141
request_chan, channel_registry = await mockgrid.start(mocker)

0 commit comments

Comments
 (0)