-
Notifications
You must be signed in to change notification settings - Fork 9.1k
YARN-10041. Create tmp socket file under /tmp for CSI tests #1771
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
🎊 +1 overall
This message was automatically generated. |
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.
LGTM thanks
...doop-yarn/hadoop-yarn-csi/src/test/java/org/apache/hadoop/yarn/csi/client/TestCsiClient.java
Outdated
Show resolved
Hide resolved
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
...doop-yarn/hadoop-yarn-csi/src/test/java/org/apache/hadoop/yarn/csi/client/TestCsiClient.java
Outdated
Show resolved
Hide resolved
As the issue described, it is easy to exceed the UNIX_PATH_MAX limit if we create the CSI test socket file under the test code dicrectory.
💔 -1 overall
This message was automatically generated. |
The test seems failing, the file is deleted as part of test, if it is supposed to be deleted as part of test, you can’t use force delete |
@ayushtkn thanks for your review, @vinayakumarb suggested me that it is better to use java tmp dir and don't need to change more lines. :) |
🎊 +1 overall
This message was automatically generated. |
...doop-yarn/hadoop-yarn-csi/src/test/java/org/apache/hadoop/yarn/csi/client/TestCsiClient.java
Outdated
Show resolved
Hide resolved
🎊 +1 overall
This message was automatically generated. |
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.
+1
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.
LGTM
As the issue described, it is easy to exceed the UNIX_PATH_MAX limit if
we create the CSI test socket file under the test code dicrectory.