Skip to content

Commit

Permalink
Reduce buffer size in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
belerico committed Jul 25, 2023
1 parent 1a1f687 commit ece0bbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_data/test_buffers.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def test_replay_buffer_sample_fail():


def test_memmap_replay_buffer():
buf_size = 1000000
buf_size = 10
n_envs = 4
with pytest.warns(
UserWarning,
Expand All @@ -171,7 +171,7 @@ def test_memmap_replay_buffer():


def test_memmap_to_file_replay_buffer():
buf_size = 1000000
buf_size = 10
n_envs = 4
root_dir = os.path.join("pytest_" + str(int(time.time())))
memmap_dir = os.path.join(root_dir, "memmap_buffer")
Expand Down

0 comments on commit ece0bbd

Please sign in to comment.