Commit Graph
62 Commits
Author SHA1 Message Date
Nick Lang 7339a272b5 Add SSL context for versions of Python that support SSL Context.
Instead of passing parameters manually, you can construct an SSL
context. This allows for greater flexibility in using self signed certs.
2017-10-06 11:27:15 -06:00
Honza Král aca83e85ae Update the upstream broken test list 2017-08-01 15:12:09 -04:00
Honza Král 3be98b0a09 first pass for 6.0 compatibility 2017-07-31 19:17:52 -04:00
Honza Král 75bc46f506 add unauthorized catch code for common test runner 2017-01-03 15:07:28 +01:00
Honza Král 99c91b7b5c Skip in yaml tests can have multiple values 2016-07-14 17:29:16 +02:00
Honza Král 7bdaa317ed adding the headers feature for our yaml test runner 2016-07-12 22:45:27 +02:00
Honza Král 06e9a9851c Implement teardown functionality for yaml tests 2016-07-11 11:01:56 +02:00
Honza Král 6e94bf76ad 5.0 compatibility 2016-03-22 21:04:07 +01:00
Honza Král 99980036e2 skip search_exists tests 2015-10-14 00:05:17 +02:00
Honza Král aefd60fa64 Better exception matching in yaml tests 2015-08-25 01:40:04 +02:00
Honza Král 9c61a1140d 2.0 compatibility 2015-08-25 01:09:54 +02:00
Honza Král 8b85d888b5 Add debug info to catch: // handling in yaml tests 2015-05-08 21:41:13 +02:00
Honza Král 42b4cfd3aa Get ready for the structured exceptions coming in es 2.0 2015-04-27 20:40:55 +02:00
Honza Král f910581f5e Yet another special case for the yaml tests 2015-04-22 22:57:45 +02:00
Honza Král 63c1c05a93 Save the last response even when catch is applied in yaml tests 2015-04-22 21:55:05 +02:00
Honza Král 47afab73ad Fix new skipping logic in yaml tests 2015-04-22 21:50:19 +02:00
Honza Král cca84058ff Sometimes we have dicts indexed by integers in yaml tests 2015-02-16 16:15:56 +01:00
Honza Král 293e8a3aca Implementing stash_in_path functionality 2015-02-10 22:08:44 +01:00
Honza Král d293346375 Proper skipping technique for yaml test suite 2015-01-12 14:57:52 +01:00
Honza Král dc28246b71 Add SKIP_TESTS to enable skipping some broken tests in released es versions 2014-06-25 15:32:35 +02:00
Honza Král 71176d5595 Provide helpers for running tests against elasticsearch 2014-04-23 01:12:03 +02:00
Honza Král f084251278 Implemented gte/lte for yaml tests 2014-03-28 17:42:51 +01:00
Honza Král 3c74fd07cd make sure we resolve variables even deep in the yaml tests 2014-03-03 15:02:57 +01:00
Honza Král a54d7035bb Compatibility with python 3.2
Now all the python 2/3 compatibility code is in elasticsearch.compat
Fixes #52
2014-02-21 16:59:13 +01:00
Honza Král c4f7cb6182 only look for regexes in strings 2014-02-03 21:42:59 +01:00
Honza Král aefc942fa5 Implemented the matching by regex feature for the yaml test suite 2014-02-03 19:30:20 +01:00
Honza Král cfcf062f6a Skip on feature for yaml tests 2014-02-03 19:10:58 +01:00
Honza Král 705d5d75cc The yaml test suite has some weird bool rules 2014-01-20 18:51:04 +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 33e0406a8d Added implementation for catch: param 2014-01-18 01:52:33 +01:00
Honza Král aaeab13f8b Handle regexp-based catch statements in the yaml test suite 2014-01-03 18:05:25 +01:00
Honza Král f7d7931a2d Rest-api-spec repo has been merged with elasticsearch proper
Changing the git submodule and moving it top level to avoid traversing
the es source code during test discovery
2013-12-28 17:40:00 +01:00
Honza Král 79c59d6f80 Use fully qualified names for the generated tests 2013-12-09 22:24:54 +01:00
Honza Král a19595e803 Report the name of the generated test case when running the tests with -v 2013-12-09 22:17:36 +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 Král 4bce8a464c Added more detailed error handling
namely being able to detect conflicts and bad requests
2013-11-14 01:12:55 +01:00
Honza Kral 5c76e7c96c Run yaml test suite correctly - one test per test method 2013-09-25 23:07:52 +02:00
Honza Kral 56c77f0bd0 Switch to using git submodules for the yaml tests 2013-09-23 17:12:14 +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 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 bf23436c27 Version can contain non-number elements like beta etc 2013-07-23 20:43:05 +02:00
Honza Kral 65349034e8 Enable \. in yaml lookups 2013-07-22 00:48:52 +02:00
Honza Kral 982ce508be handle dots in yaml test dirs' names 2013-07-15 14:43:58 +02:00
Honza Kral 2468accd29 YamlTestCase fixes 2013-07-12 18:22:06 +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 30242ad277 is_false in yaml can also mean does not exist 2013-07-11 02:31:40 +02:00
Honza Kral 480b147b63 Skip yaml command 2013-07-11 02:00:28 +02:00