-
Notifications
You must be signed in to change notification settings - Fork 1.3k
.gitignore: Add std{out,err}_logfile #377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
It looks like these two files started being created after #241 was merged. We should probably address the problem that is causing them to be created rather than ignore them. |
|
Playing around a little bit, it seems that these files get generated specifically by some tests in (Note that I'm using the ability to run specific tests from tox that I added in PR #380): |
|
Narrowing it down a bit more: and: This last one is interesting because only I wonder if @jaraco can spot the problem easily, since he authored #241... |
|
It looks like removing the files in |
|
OK, #381 seems to prevent these files from being left around. |
|
Heck, it'll even nuke those files if they already exist! |
|
I think what has happened here is that a change in #241 has caused something in the tests that used to be wired up to a |
|
Aha, good context. Thanks. May or may not have time to look into this today. |
|
This seems to be the exact call stack in the test where the files get created (I observed this by tracing through with pdb++ and seeing when the files appeared): |
|
OK, see #382 -- this prevents the files from getting created in the first place. |
|
#382 or something like it, where we prevent the files from being created in the first place is a better solution. |
by modifying 3 tests to set instance.std{out,err}_logfile to a filename
in the temp directory by using tempfile.mktemp
This is an alternative solution to the issue mentioned in Supervisor#382 and Supervisor#377.
by modifying 3 tests to use instance.std{out,err}_logfile which are temp
files.
This is an alternative solution to the issue mentioned in Supervisor#382, Supervisor#377,
and Supervisor#417.
by modifying 3 tests to use instance.std{out,err}_logfile which are temp
files.
This is an alternative solution to the issue mentioned in Supervisor#382, Supervisor#377,
and Supervisor#417.
Conflicts:
supervisor/tests/test_options.py
by modifying 3 tests to use instance.std{out,err}_logfile which are temp
files.
This is an alternative solution to the issue mentioned in Supervisor#382, Supervisor#377,
and Supervisor#417.
Conflicts:
supervisor/tests/test_options.py
by modifying 3 tests to use instance.std{out,err}_logfile which are temp
files.
This is an alternative solution to the issue mentioned in Supervisor#382, Supervisor#377,
and Supervisor#417.
Conflicts:
supervisor/tests/test_options.py
by modifying 3 tests to use instance.std{out,err}_logfile which are temp
files.
This is an alternative solution to the issue mentioned in Supervisor#382, Supervisor#377,
and Supervisor#417.
Conflicts:
supervisor/tests/test_options.py
Just add 2 files to
.gitignorethat get created by the tests.