training_extensions icon indicating copy to clipboard operation
training_extensions copied to clipboard

Clean temporary files created by tests

Open ashwinvaidya17 opened this issue 2 years ago • 0 comments

Description

  • This issue just serves as a reminder to keep in mind when redesigning our tests.
  • Tests create temporary files in /tmp directory. If these are not properly cleaned, we will run out of memory on the host machine.

Solution

  • An idea would be to use context decorators with tempfile or we can investigate tmp-path-fixture.

ashwinvaidya17 avatar Nov 16 '22 08:11 ashwinvaidya17