Skip to content

Commit

Permalink
force the seed in some broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BDonnot committed Oct 27, 2023
1 parent 8cefb7f commit 36c6829
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lightsim2grid/tests/test_dist_slack_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ def test_after_runner(self):
runner_ds = Runner(**self.env_ds.get_params_for_runner())
res_ss = runner_ss.run(self._aux_get_kwargs_runner())
res_ds = runner_ds.run(self._aux_get_kwargs_runner())
import pdb
pdb.set_trace()
if res_ss[0][3] != res_ds[0][3]: # same number of steps survived
raise RuntimeError(f"{res_ss[0][3]} vs {res_ds[0][3]}: ")
assert res_ss[0][2] != res_ds[0][2] # not the same reward
Expand Down

0 comments on commit 36c6829

Please sign in to comment.