apply plugin: 'elasticsearch.rest-test' /* This project runs the core REST tests against a 2 node cluster where one of the nodes has a different minor. * Since we don't have a version to test against we currently use the hardcoded snapshot for to basically run * against ourselves. To test that using a different version go to distribution/zip and execute: * gradle clean publishToMavenLocal -Dbuild.snapshot=false * * This installs the release-build into a local .m2 repository, then change this version here to: * bwcVersion = "5.0.0" * * now you can run the bwc tests with: * gradle check -Drepos.mavenlocal=true * * (-Drepos.mavenlocal=true will force gradle to look for the zip distribution in the local .m2 repository) */ integTest { includePackaged = true cluster { numNodes = 2 numBwcNodes = 1 bwcVersion = "6.0.0-alpha1-SNAPSHOT" setting 'logger.org.elasticsearch', 'DEBUG' } } repositories { maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } }