From 309c7ceeffc3cb520e1db3b36c0f60f434b866c0 Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Fri, 27 Jun 2014 15:39:53 +0200 Subject: [PATCH] Added minimal setup guide for BW Compat tests --- TESTING.asciidoc | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/TESTING.asciidoc b/TESTING.asciidoc index dd705078dec..b1067ba8a06 100644 --- a/TESTING.asciidoc +++ b/TESTING.asciidoc @@ -184,14 +184,23 @@ To run backwards compatibiilty tests untar or unzip a release and run the tests with the following command: --------------------------------------------------------------------------- -mvn test -Dtests.bwc=true -Dtests.bwc.version=x.y.z -Dtests.bwc.path=/path/to/elasticsearch +mvn test -Dtests.bwc=true -Dtests.bwc.version=x.y.z -Dtests.bwc.path=/path/to/elasticsearch -Des.node.mode=network --------------------------------------------------------------------------- If the elasticsearch release is placed under `./backwards/elasticsearch-x.y.z` the path can be omitted: --------------------------------------------------------------------------- -mvn test -Dtests.bwc=true -Dtests.bwc.version=x.y.z +mvn test -Dtests.bwc=true -Dtests.bwc.version=x.y.z -Des.node.mode=network +--------------------------------------------------------------------------- + +To setup the bwc test environment execute the following steps (provided you are +already in your elasticsearch clone): + +--------------------------------------------------------------------------- +$ mkdir backwards && cd backwards +$ curl -O https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.2.1.tar.gz +$ tar -xzf elasticsearch-1.2.1.tar.gz --------------------------------------------------------------------------- == Testing the REST layer