Skip to content

Commit 2dbfba3

Browse files
committed
Fix tests teardown
1 parent 0d3ab6c commit 2dbfba3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test_elasticsearch_serverless/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def wipe_cluster(client):
6363

6464
if isinstance(client, AsyncElasticsearch):
6565
node_config = client.transport.node_pool.get().config
66-
client = Elasticsearch([node_config])
66+
client = Elasticsearch(node_config)
6767
close_after_wipe = True
6868
except ImportError:
6969
pass

0 commit comments

Comments
 (0)