Commit Graph
212 Commits
Author SHA1 Message Date
Honza Král f38fa51fea When user is passing params we need to make a copy
Fixes #517
2017-01-17 03:10: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 fe53ab588e Fix sniffing for 5.0
Fixes #477
2016-12-06 12:17:57 +01:00
Honza Král 8b96556769 Change the trace logger to also include failed requests 2016-10-19 15:28:31 +02:00
Honza Král 8314f7b25c Set verify_certs default to True
If certifi is installed use it as default for ca_certs value
Closes #403
2016-10-17 14:16:56 +02: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 418b93bfec Do not warn on 404s when using HEAD method
Fixes #396
2016-04-27 13:21:47 +02:00
Honza Král 6e94bf76ad 5.0 compatibility 2016-03-22 21:04:07 +01:00
Alexei PetersandHonza Král b792be3652 add the ability to serialize uuid types 2015-12-13 19:08:55 -08:00
Honza Král fb8eb4e385 Respect publish host when present on a node.
Closes #251. Thanks danpilch and bowensong for the patch!
2015-12-01 03:40:40 +01:00
Honza Král ade841a680 Better exception representation 2015-11-04 19:21:29 +01:00
Honza Král 1b60d9bf84 iElasticsearch 2.0 exposes just host:port in nodes.info
Fixes #293
2015-11-02 14:26:28 +01:00
Honza Král 99980036e2 skip search_exists tests 2015-10-14 00:05:17 +02:00
Honza Král 7729c3048f Python2 compatibility in tests 2015-10-11 23:59:26 +02:00
Honza Král 9d415fadef Adding tests for indexing strings via bulk helpers 2015-10-11 05:00:14 +02:00
Honza Král 1378073e2d Moved helpers unit tests to test_helpers 2015-10-11 04:50:31 +02:00
Honza Král 12c2a466e1 Basic tests for parallel_bulk 2015-10-11 04:47:02 +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 d328998b36 Add keep_alive headers by default to Urllib3HttpConnection 2015-06-22 20:39:58 +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 aa2d4f079c Adding tests for advanced auth options for requests 2015-03-26 14:17:10 +01:00
Russell Savage 4c24468168 updating doc links to elastic.co
reverting bucket link to elasticsearch.org

updating test cases to use elastic.co

updating pylibmc version
2015-03-23 15:56:32 -07: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 271fc4d232 Warn when people using insecure options. 2015-01-29 23:46:01 +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
Honza Král d293346375 Proper skipping technique for yaml test suite 2015-01-12 14:57:52 +01:00
Honza Král d3e745ab77 Make initial sniff (sniff_on_start) ignore sniff_timeout
This is due to issue mentioned in #167 as part of discussion
2015-01-04 19:44:21 +01:00
Honza Král 953c66e650 fix Elasticsearch.index with id=0
Fixes #164 Thanks larsmans!
2014-12-30 18:50:52 +01:00
Honza Král 836c6d1933 Introducing DummyConnectionPool for when only 1 connection defined 2014-12-20 00:35:24 +01:00
Honza Král 82a32540d7 Fix race condition in ConnectionPool
Fixes #158
2014-12-20 00:34:42 +01:00
Honza Král 9b5d2c062e Add an option to use scan helper without search_type=scan, use with caution
Fixes #160
2014-12-15 15:15:03 +01:00