Skip to content

Commit

Permalink
Fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
gmegh committed Sep 13, 2024
1 parent 55413fb commit 718156d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/test_mtaosCscWithSimulators.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,8 @@ async def test_stress_below_limit(self):
config_dir=TEST_CONFIG_DIR,
simulation_mode=0,
):
await salobj.set_summary_state(self.remote, salobj.State.ENABLED)
await self._simulateCSCs()
await self._startCsc()

dof_aggr = np.zeros(50)
dof_aggr[11] = 1.0
Expand All @@ -371,7 +372,8 @@ async def test_stress_above_limit_scale(self):
config_dir=TEST_CONFIG_DIR,
simulation_mode=0,
):
await salobj.set_summary_state(self.remote, salobj.State.STANDBY)
await self._simulateCSCs()
await self._startCsc()

config_data = None
with open(TEST_CONFIG_DIR / 'valid_scale.yaml') as fp:
Expand Down Expand Up @@ -408,7 +410,8 @@ async def test_stress_above_limit_truncate(self):
config_dir=TEST_CONFIG_DIR,
simulation_mode=0,
):
await salobj.set_summary_state(self.remote, salobj.State.ENABLED)
await self._simulateCSCs()
await self._startCsc()

dof_aggr = np.zeros(50)
dof_aggr[10:30] = 10.0
Expand Down

0 comments on commit 718156d

Please sign in to comment.