Commit Graph
127 Commits
Author SHA1 Message Date
Seth Michael LarsonandGitHub 883287551a Update supported ES API to 7.6 2020-03-13 13:44:46 -05:00
Seth Michael LarsonandGitHub 9219c92779 [7.x] Add support for X-Opaque-Id 2020-03-11 16:33:15 -05:00
Seth Michael LarsonandGitHub 8074ff294b [7.x] Restore default metric='_all' to cluster.state() 2020-03-10 12:08:03 -05:00
Seth Michael LarsonandSeth Michael Larson 210fae23d0 Run Black+Flake8 on project 2020-03-09 13:54:47 -05:00
Seth Michael LarsonandGitHub 024abcfa39 Unskip API tests, add xpack no_xpack default_shards features 2020-02-28 11:36:03 -06:00
Seth Michael LarsonandGitHub 2c7ea70201 Migrate CI to Jenkins on 7.x branch (#1114) 2020-02-27 10:13:49 -06:00
Honza Král fba8e60ca8 xpack tests passing 2020-01-19 00:46:24 +00:00
Honza Král 8fdf11cc5c make local.py work in tests 2020-01-19 00:02:02 +00:00
Honza Král c4d61b7bce No more broken upstream tests, yay! 2020-01-18 22:33:57 +00:00
Honza Král fc78c992ef Take skipped shards as successful in scan helper 2019-10-04 11:46:48 +02:00
Nick LangandGitHub 206f5e2754 Black (#948) 2019-05-10 09:16:33 -06:00
SlamandNick Lang 2181611a00 Scan refactor (#924)
* Adds scan test for exception & data yielded

* Adds scan test for fast route & initial search error

* Refactores scan implementation; better scroll test

* Adds tests clear_scroll & logger
2019-04-05 09:31:43 -06:00
Nick LangandGitHub 1afceba69b update to ES 7 (#911)
* update to ES 7

* more updates to make tests run

* update the test matrix

* remove python 3.3

* update xpack apis

* relative imports
2019-03-29 09:25:23 -06:00
MillyandNick Lang cd871244e0 TransportError not raised in helpers.streaming_bulk() with max_retries. (#775)
* Add test to raise `TransportError` in `helpers.streaming_bulk()` with `max_retries`.

* Re-raise `TransportError` if the last retry fails.
2018-04-24 11:35:54 -06:00
Nick Lang c4ce9af767 Skipping/Unskipping tests
Some tests need to be skipped till changes occur in elastic/elasticsarch
Also some previously skipped tests can be unskipped now.
2018-01-10 13:40:17 -07:00
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 4e6f635711 6.x compatibility in tests 2017-08-01 15:54:59 -04: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 8f73594cac Tests for retry logic in streaming_bulk 2017-07-22 13:40:22 -04:00
Honza Král d862c8a799 Add content-type default headers with application/json 2017-02-08 20:50:50 +01:00
Honza Král 75bc46f506 add unauthorized catch code for common test runner 2017-01-03 15:07:28 +01:00
Honza Král cd8aaf2c5e 5.0 compatibility 2016-10-17 13:57:10 +02: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 ac74778037 Allow test client to be created with kwargs 2016-07-12 18:02:46 +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 ade841a680 Better exception representation 2015-11-04 19:21:29 +01:00
Honza Král 99980036e2 skip search_exists tests 2015-10-14 00:05:17 +02:00
Honza Král 1378073e2d Moved helpers unit tests to test_helpers 2015-10-11 04:50:31 +02:00
Honza Král 6f7a56964c Removing ThriftConnection and MemcachedConnection 2015-10-07 17:47:05 +02:00
Honza Král 3400179153 Allos the size of the bulk request to be defined in bytes
Fixes #199
2015-09-30 21:06:24 +02:00
Honza Král 928fc000d1 Serialize the data in bulk helper 2015-09-30 19:25:17 +02:00
Honza Král b994d1d934 remove timestamp from reindex tests since it's deprecated in 2.0 2015-09-21 19:42:33 +02:00
Honza Král aefd60fa64 Better exception matching in yaml tests 2015-08-25 01:40:04 +02:00
Honza Král 36d8d4b545 2.0 compatibility 2015-08-25 01:21:45 +02:00
Honza Král 9c61a1140d 2.0 compatibility 2015-08-25 01:09:54 +02:00
Honza Král fdeb3d1131 Make sure reindex preserves _parent, _routing and _timestamp
Fixes #140
2015-06-20 00:27:08 +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 79ca075ab0 More sane defaults for helpers
Also make sure errors while scrolling will not be ignored
Fixes #194
2015-02-18 18:28:55 +01: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 f065817e89 Add option to pass kwargs to scan and bulk in reindex helper 2015-01-30 00:04:04 +01:00
Honza Král 93d287d99c Added tests for raise_on_exception 2015-01-24 18:41:43 +01:00
Honza Král 1f0852bb92 Tests for reindex accepting a query 2015-01-16 16:34:44 +01:00