-
Notifications
You must be signed in to change notification settings - Fork 2
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
Mccalluc/delete tmp dirs on purge #79
Conversation
not the behavior I saw locally, but even apart from that, I'm doing things in the wrong order: should not delete directory while the container that depends on it is still running. |
Mock test not working, and after a bit decided not worth the effort.
…d be using them by accident at some point.
@scottx611x : Tests pass locally. Started off just cleaning up the temp dir, and then continued into making the temp dir configurable. If this passes, I'll tag it, and work on a separate PR in refinery proper. |
Failure is related to tag mismatch, but I don't really understand it. I would merge and then release a new tag if necessary. |
@@ -195,6 +193,7 @@ def test_purge(self): | |||
)) | |||
self.assertEqual(1, self.count_containers()) | |||
self.assert_loads_eventually(url, 'Welcome to nginx!') | |||
self.assertGreater(self.ls_tmp(), ls_tmp_orig) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ls_tmp_orig -> self.initial_tmp
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
filed #81
Towards refinery-platform/refinery-platform#2160 (Will need to pin the version here and update the dependency there.)
Fix #68, Fix #67 (I think)
fix #61