-
Notifications
You must be signed in to change notification settings - Fork 1k
PHOENIX-7081 : OrphanViewToolIT uses global /tmp #1762
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
|
Whilte this technically fixes the issue, it is not the ideal solution. I would prefer to have all uses of the '/tmp' dir replaced with the value of java.io.tmpdir. |
|
This PR also seems to have a lot of unrelated patches, I suggest rebasing on master and force pushing. |
|
@stoty i had some issues with my local git. i will create a new PR with fixed changes and will tag you. |
|
BTW no need to close, you can re-use your existing PRs, you just need to force-push the new patch form your original source branch. |
|
The tmp dir thats being generated for both tests are coming out to be the same, hence this strategy wont work. Shall we go ahead with the epoch strategy as done before? |
|
Can you give me examples of those directories, @Divneet18 ? If that is the case, then we should probably fix java.io.tmpdir in the maven setup. |
|
"/var/folders/bf/rk2sl26x6_52mztrsll5ywq00000gn/T/" was the directory that was generated for java.io.tmpdir for one of the tests i ran @stoty |
|
Thanks. I have created PHOENIX-7175 to set a unique tmpdir. |
|
Yes I am working on it now :) |
|
@stoty i tried adding the property like you mentioned but still the folder names are the same for both. right now the folder shows up as "/Users/divneet.kaur/Desktop/phoenix/phoenix-core/target". |
|
This is what we want. ie, you run one test from ~/phoenix-master , and another from ~/phoenix-5.1 |
|
@stoty i see makes sense. should i add the property change as a part of a separate PR for PHOENIX-7175 ? or can i add my changes to this PR only that I made for PHOENIX-7081 |
|
I have a slight preference for handling them in separate commits. |
|
Looking at the code, we have a lot of similar cases. Can you do those as well @Divneet18 , or should I take over ? |
|
@stoty I can do it. Seems like when i search for /tmp there are 50+ files that use it. I shouldnt change the .sh files right? |
|
Right. |
No description provided.