Honza Král
ac74778037
Allow test client to be created with kwargs
2016-07-12 18:02:46 +02:00
Honza Král
71176d5595
Provide helpers for running tests against elasticsearch
2014-04-23 01:12:03 +02:00
Honza Král
8c670793e6
Always use kwargs
2014-01-20 18:54:19 +01:00
Honza Král
d8a84b6045
Just ignore 404 instead of catching exception
2014-01-20 18:53:41 +01:00
Honza Král
69b0c7141d
get_client() already returns a singleton instance
2014-01-20 17:15:53 +01:00
Honza Král
a3e98c5ec3
Raise the timeout for the server to come up. Maybe travis will make it.
2014-01-18 21:25:14 +01:00
Honza Král
dfb939d878
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
2014-01-18 21:08:15 +01:00
Honza Král
4adad8dc78
Updated tests to work with 1.0
2014-01-18 01:54:30 +01:00
Honza Král
82fa7b03a4
Enable users to override the client used in tests.
...
Fixes #7 , thanks nkvoll!
2013-11-23 19:20:44 +01:00
Honza Král
5ce42094c6
Skip test for different op types before 0.90.1
2013-11-22 22:28:29 +01:00
Honza Kral
8da490e672
Even when using existing server wait for yellow status before proceeding
...
This should solve travis issues where ES is run just before the test
suite.
2013-09-28 15:51:24 +02:00
Honza Kral
402fca0e32
remove all templates in teardown
2013-09-23 14:20:16 +02:00
Honza Kral
f603a834ca
Use one global client instance for all test runs
2013-08-28 19:24:11 +02:00
Honza Kral
fe7cc106f6
Use unittest2 even for python 2.6
2013-08-28 19:11:28 +02:00
Honza Kral
d180e62a99
Revert "Support python 2.6"
...
This reverts commit 158f6e6183 .
2013-08-28 19:02:42 +02:00
Honza Kral
158f6e6183
Support python 2.6
2013-08-27 04:07:52 +02:00
Honza Kral
610226e91c
Support for running different connection class in tests
2013-08-27 02:53:01 +02:00
Honza Kral
97257c872d
typo
2013-08-08 18:06:07 +02:00
Honza Kral
6cfde42985
Extract ElasticTestCase from YamlTestCase
2013-08-01 14:47:34 +02:00
Honza Kral
388a56ea2c
Provide sane defults for YAML tests
2013-07-31 17:51:42 +02:00
Honza Kral
95f42df6db
Support running the integration tests on an already running cluster
2013-07-12 18:08:51 +02:00
Honza Kral
1ce8c07db3
Load the yaml files optionally from external dir
2013-07-10 13:25:09 +02:00
Honza Kral
c5436bd1da
keep test suite dependency free as possible
2013-06-14 17:17:51 +02:00
Honza Kral
c064bf7764
wait_for_status when waiting for test server to boot up
2013-06-07 18:25:57 +02:00
Honza Kral
991eb881df
Added real test server
2013-05-27 23:02:38 +02:00