Unit tests create logging folders in CWD
Bug #1634296 reported by
Charles Neill
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
syntribos |
Fix Released
|
Medium
|
Charles Neill |
Bug Description
Running syntribos' unit tests (e.g. with tox or nose), specifically test_runner.py, will result in a folder being created in CWD and not being cleaned up at the end of the test run. This is due to a call to "get_log_dir_name", which creates a logfile directory based on the current timestamp if it doesn't already exist [1].
Will try to clean this up in my syntribos init patch.
Changed in syntribos: | |
importance: | Undecided → Medium |
assignee: | nobody → Charles Neill (charles-neill) |
description: | updated |
Changed in syntribos: | |
status: | New → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/388962 /git.openstack. org/cgit/ openstack/ syntribos/ commit/ ?id=18781c37cdd 0c0ce37eb2cb2fe 7ba6fa213844c9
Committed: https:/
Submitter: Jenkins
Branch: master
commit 18781c37cdd0c0c e37eb2cb2fe7ba6 fa213844c9
Author: Charles Neill <email address hidden>
Date: Wed Oct 19 21:06:55 2016 -0500
Add additional runner and env utils tests
Adds several tests to exercise more of runner and the env utils.
Makes several modifications to config.py, runner.py, and utils/env.py,
with the aim of making them more testable.
Change-Id: I708df9e5315f3d add028c8107ac64 16c707e90a0
Closes-Bug: #1634296