Major test refactor.
- removed the git submodule, relying on the elasticsearch repo existing outside of this one - modified the run_tests.py script to inspect currently running elasticsearch and try and checkout the exact SHA used to build the server - removed the option of starting out own elasticsearch server - fixed travis.yml to reflect the changed situation - added a README file to the test suite explaining all the options
This commit is contained in:
+2
-7
@@ -20,16 +20,11 @@ The process for contributing to any of the Elasticsearch repositories is similar
|
||||
2. Run the test suite to ensure your changes do not break existing code:
|
||||
|
||||
````
|
||||
git submodules init
|
||||
python setup.py test
|
||||
````
|
||||
|
||||
If your changes require special configuration of the client you can create a
|
||||
`test_elasticsearch/local.py` file containing a `get_client` with the same
|
||||
signature as the client itself (`hosts, **kwargs` will do) and returns a client
|
||||
instance. This function will be used for any tests running against ES and will
|
||||
be passed all the parameters that would otherwise be used to construct the
|
||||
client instance directly.
|
||||
See the README file in `test_elasticsearch` dirctory for more information on
|
||||
running the test suite.
|
||||
|
||||
3. Rebase your changes.
|
||||
Update your local repository with the most recent code from the main
|
||||
|
||||
Reference in New Issue
Block a user