convert EmptyDirTask.groovy to .java#34672
convert EmptyDirTask.groovy to .java#34672alpar-t merged 15 commits intoelastic:masterfrom vboulaye:convert-emptydirtask-to-java
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 |
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.
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...