Skip to content

Commit

Permalink
remove elasticsearch-async tests (elastic#949)
Browse files Browse the repository at this point in the history
elasticsearch-async has been deprecated and its functionality brought
into elasticsearch-py proper (tests for that can be found in
async_elasticsearch_client_tests.py). Since version 3.7 of aiohttp,
the tests fail and can't easily be fixed. We plan to remove support
for this module anyway in version 6.0 of the agent, so it's an
acceptable quick fix to remove testing for the module now already.
  • Loading branch information
beniwohli committed Sep 14, 2021
1 parent 761b6e9 commit 04f6efe
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 200 deletions.
2 changes: 1 addition & 1 deletion tests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ services:
- pyesdata6:/usr/share/elasticsearch/data

elasticsearch7:
image: docker.elastic.co/elasticsearch/elasticsearch:7.1.0
image: docker.elastic.co/elasticsearch/elasticsearch:7.9.0
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9200"]
environment:
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion tests/requirements/reqs-elasticsearch-6.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
elasticsearch>=6.0,<7.0
elasticsearch-async ; python_version >= '3.7'
-r reqs-base.txt
1 change: 0 additions & 1 deletion tests/requirements/reqs-elasticsearch-7.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
elasticsearch>=7.0,<8.0
elasticsearch-async ; python_version >= '3.7'
aiohttp ; python_version >= '3.6'
-r reqs-base.txt

0 comments on commit 04f6efe

Please sign in to comment.