Run some REST tests against a cluster running in docker containers #39515
Run some REST tests against a cluster running in docker containers #39515alpar-t merged 20 commits intoelastic:masterfrom
Conversation
|
Pinging @elastic/es-core-infra |
|
@atorok looks like there's still some work going on here. Should this be marked WIP? |
|
@mark-vieira there are a few tests blacklisted for failures that we still need to look at, so there's still work left, but the PR could go in, we would still get significantly more testing and can sort out those last failures lather. |
|
#39569 should fix some of the failures muted here, but I don't think it will do so with all of them. |
buildSrc/src/main/java/org/elasticsearch/gradle/testfixtures/TestFixturesPlugin.java
Outdated
Show resolved
Hide resolved
distribution/docker/build.gradle
Outdated
| restSpec "org.elasticsearch:rest-api-spec:${version}" | ||
| } | ||
|
|
||
| task copyRestTests(type: Sync) { |
There was a problem hiding this comment.
Rather than define a new task here, we should just configure the existing processTestResources task to do this. Its job is already to copy stuff into the resources output directory and can be configured like any other CopySpec.
There was a problem hiding this comment.
I specifically wanted to have a Sync task to make sure that there are no tests accidentally left in the resources directory when switching branches etc.
There was a problem hiding this comment.
The ProcessResources task already does this.
test/framework/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java
Show resolved
Hide resolved
|
thanks for the review @mark-vieira ! Ready for another round. |
|
@rjernst ready for another review |
Extend the test fixtures based setup to match our testing requirement, copy and execute the rest tests against it.
Note to self: this will require a change in CI to run the oss distro tests.
Closes to #38053