Skip to content

Commit

Permalink
Fix mismatch property name
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Nied <[email protected]>
  • Loading branch information
peternied committed Aug 6, 2024
1 parent b5cf5a7 commit a341fd6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ def check_doc_counts_match(cluster: Cluster,
else:
for index_details in actual_index_details.values():
index_name = index_details['index']
actual_doc_count = index_details['docs.count']
expected_doc_count = expected_index_details[index_name]['docs.count']
actual_doc_count = index_details['count']
expected_doc_count = expected_index_details[index_name]['count']
if actual_doc_count != expected_doc_count:
error_message = (f"Index {index_name} has {actual_doc_count} documents but {expected_doc_count} "
f"were expected")
Expand Down

0 comments on commit a341fd6

Please sign in to comment.