-
Notifications
You must be signed in to change notification settings - Fork 25.2k
convert EmptyDirTask.groovy to .java #34672
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
convert EmptyDirTask.groovy to .java #34672
Conversation
Pinging @elastic/es-core-infra |
buildSrc/src/test/java/org/elasticsearch/gradle/EmptyDirTaskTest.java
Outdated
Show resolved
Hide resolved
@elasticmachine test this please |
@vboulaye looks like CI picked up on some inconsistent naming.
|
@elasticmachine test this please |
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.
Thanks for your contribution @vboulaye I left a few small comments.
buildSrc/src/main/java/org/elasticsearch/gradle/EmptyDirTask.java
Outdated
Show resolved
Hide resolved
buildSrc/src/main/java/org/elasticsearch/gradle/EmptyDirTask.java
Outdated
Show resolved
Hide resolved
buildSrc/src/test/java/org/elasticsearch/gradle/EmptyDirTaskTests.java
Outdated
Show resolved
Hide resolved
buildSrc/src/test/java/org/elasticsearch/gradle/EmptyDirTaskTests.java
Outdated
Show resolved
Hide resolved
@elasticmachine test this please |
1 similar comment
@elasticmachine test this please |
@elasticmachine test this please |
1 similar comment
@elasticmachine test this please |
I have merged the latest master into the fork as the PR CI build has failed due to the outdated branch. |
@elasticmachine test this please |
@elasticmachine run elasticsearch-ci/default-distro |
1 similar comment
@elasticmachine run elasticsearch-ci/default-distro |
@elasticmachine test this please |
…asticsearch into convert-emptydirtask-to-java
@elasticmachine test this please |
@vboulaye can you look at these test failures please
|
Hi, I'll have a look at what is broken now. |
I tried to reproduce the error but I do not see how to do that: I tried to reproduce the issue by setting the same seed on the command line:
But the tests are passing. I also tried adding There is another test using TemporaryFolder;; BuildExamplePluginsIT How can I reproduce the issue ? |
@vboulaye thanks for looking at the failure. I have seen an incompatibility between randomized testing and rules to create temp folders before, but didn't pursue it at the time, |
Hi, |
My
I'll have to look at it again. |
return newEmptyFolder; | ||
} | ||
|
||
private Project createProject() throws IOException { |
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.
can you please inline this and the next method as they are now just one-liners.
@elasticmachine test this please |
@elasticmachine test this please |
@elaticmachine run elasticsearch-ci/packaging-sample , run elasticsearch-ci/default-distro and run elasticsearch-ci/bwc |
…asticsearch into convert-emptydirtask-to-java
@elasticmachine test this please |
@elasticmachine update branch |
1 similar comment
@elasticmachine update branch |
@elasticmachine test this please |
related to #34459, convert the EmptyDirTask.groovy to java
I tried to follow the instructions in the issue notes and the related FileContentsTask PR, but I am still new to this...