Skip to content

Commit f8a67e0

Browse files
troubleshooting build
1 parent 5f7371c commit f8a67e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test_elasticsearch/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ def wipe_data_streams(client):
179179
def wipe_indices(client):
180180
indices = client.cat.indices().strip().splitlines()
181181
if len(indices) > 0:
182-
index_names = [i.split(" ")[2] for i in indices]
182+
index_names = [i.split()[2] for i in indices]
183+
print(index_names)
183184
client.options(ignore_status=404).indices.delete(
184185
index=",".join(index_names),
185186
expand_wildcards="all",

0 commit comments

Comments
 (0)