#2989 closed defect (fixed)

Many Node-creating tests leak a tempfile mutation

Reported by: exarkun Owned by: GitHub <noreply@…>
Priority: normal Milestone: undecided
Component: unknown Version: 1.12.1
Keywords: review-needed Cc:
Launchpad Bug:

Description

Creating a node mutates tempfile.tempdir to control the location of temporary files during node operation.

The test suite creates many nodes and also runs code that creates temporary files that don't belong in the per-node temporary directory.

This mutation should be cleaned up after each test.

Change History (2)

comment:2 Changed at 2019-03-08T16:48:57Z by GitHub <noreply@…>

  • Owner set to GitHub <noreply@…>
  • Resolution set to fixed
  • Status changed from new to closed

In 64c5796/trunk:

Merge pull request #565 from tahoe-lafs/2989.tempdir-cleanup

Add some tempfile cleanup to the test suite

Fixes: ticket:2989

Note: See TracTickets for help on using tickets.