* Fixing flaky test wrt mock and threading.
Mock is apparetnly not threadsafe, and as a result will sometimes
cause tests to fail when we want to count the number of times a
mock function is called.
I've replaced the mock function with a side_effect, which allows for
locking and incrementing manually.
* put threading.Lock in globals
* testing
* more fixes
* downgrade docker-compose file version cause jenkins
* fixing matrix
* back to elasticsearch_version
* skip py3.7 for now there's a bug
* add build badge and remove 3.3
Sphinx doesn't play nice with 3.3
* sphinx 1.7 drops support for python 3.3
* updating test matrix
* remove travis
* updating badges
* In preperation for moving to Elastic's CI
Add dockerfile to build image for testing python client in a docker container
add docker-compose to create environment for running tests against specific versions of ES
Add Makefile to make it easy to execute tests and cleanup
add wait-for-elasticsearch.sh script to wait for elasticsearch before executing the tests.
* add pull and comment about pushing requring auth
* spelling errors
* adding CI directory for jenkins to pick up
fixing typo too
* fix test-matrix and create working run-tests
* add comment about why skipping python 2.6
* adding dockerfiles to create base images for ci
* Use original SSL process and add SSLContext
Not going to deprecate and replace with SSLContext.
But instead give option for using SSLContext next to the original way of
handling SSL.
Also don't want to break backwards compat. So when chcking for depreicated values ignore
the check on verify_certs. Since it's True. the verify certs will be default true
in the ssl_context. And can be turned off in the SSL context when using it.
If you want/need to load data into a different es cluster just specify either the
* -H/--host option
* -p/--path option
ex: python load.py --host http://123.123.123.123:9200 -p /home/code/elasticsearch
* Adding start_elasticsearch.sh script to run elastic search on the host
in a docker container at http://localhost:9200
* update readme in instructions on how to use script