Skip to content

Commit 133c186

Browse files
troubleshooting build
1 parent 5f7371c commit 133c186

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test_elasticsearch/utils.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,12 @@ def wipe_data_streams(client):
177177

178178

179179
def wipe_indices(client):
180-
indices = client.cat.indices().strip().splitlines()
180+
c = client.cat.indices()
181+
print('---\n', c, '---\n')
182+
indices = c.strip().splitlines()
181183
if len(indices) > 0:
182184
index_names = [i.split(" ")[2] for i in indices]
185+
print(index_names)
183186
client.options(ignore_status=404).indices.delete(
184187
index=",".join(index_names),
185188
expand_wildcards="all",

0 commit comments

Comments
 (0)