Skip to content

Commit 04f6efe

Browse files
committed
remove elasticsearch-async tests (elastic#949)
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.
1 parent 761b6e9 commit 04f6efe

File tree

4 files changed

+1
-200
lines changed

4 files changed

+1
-200
lines changed

tests/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ services:
7878
- pyesdata6:/usr/share/elasticsearch/data
7979

8080
elasticsearch7:
81-
image: docker.elastic.co/elasticsearch/elasticsearch:7.1.0
81+
image: docker.elastic.co/elasticsearch/elasticsearch:7.9.0
8282
healthcheck:
8383
test: ["CMD", "curl", "-f", "http://localhost:9200"]
8484
environment:

tests/instrumentation/asyncio_tests/elasticsearch_async_client_tests.py

Lines changed: 0 additions & 197 deletions
This file was deleted.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
elasticsearch>=6.0,<7.0
2-
elasticsearch-async ; python_version >= '3.7'
32
-r reqs-base.txt
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
elasticsearch>=7.0,<8.0
2-
elasticsearch-async ; python_version >= '3.7'
32
aiohttp ; python_version >= '3.6'
43
-r reqs-base.txt

0 commit comments

Comments
 (0)