Skip to content

Commit

Permalink
Disable reindex-from-old tests in windows
Browse files Browse the repository at this point in the history
In windows we can't reliable git the pid so we skip the
reindex-from-remote tests from old versions of elasticsearch. This
is OK because we aren't really testing windows here anyway. It isn't
great, but should be safe.
  • Loading branch information
nik9000 committed May 11, 2017
1 parent 9970868 commit c7288ec
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions qa/reindex-from-old/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ should be able to use the standard launching mechanism which
is more flexible and reliable.
"""

import org.apache.tools.ant.taskdefs.condition.Os

apply plugin: 'elasticsearch.standalone-rest-test'
apply plugin: 'elasticsearch.rest-test'

Expand All @@ -49,9 +51,9 @@ dependencies {
es090 'org.elasticsearch:elasticsearch:0.90.13@zip'
}

if (project.javaVersion == JavaVersion.VERSION_1_9) {
if (project.javaVersion == JavaVersion.VERSION_1_9 || Os.isFamily(Os.FAMILY_WINDOWS)) {
/* We can't run the dependencies with Java 9 so for now we'll skip the whole
* thing. */
* thing. We can't get the pid files in windows so we skip that as well.... */
integTest.enabled = false
} else {
/* Set up tasks to unzip and run the old versions of ES before running the
Expand Down

0 comments on commit c7288ec

Please sign in to comment.