From a341fd61d26f8340178d708eba622aaf8c18f66d Mon Sep 17 00:00:00 2001 From: Peter Nied Date: Tue, 6 Aug 2024 19:14:22 +0000 Subject: [PATCH] Fix mismatch property name Signed-off-by: Peter Nied --- .../lib/integ_test/integ_test/common_operations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TrafficCapture/dockerSolution/src/main/docker/migrationConsole/lib/integ_test/integ_test/common_operations.py b/TrafficCapture/dockerSolution/src/main/docker/migrationConsole/lib/integ_test/integ_test/common_operations.py index d8fd0663f..0439dec31 100644 --- a/TrafficCapture/dockerSolution/src/main/docker/migrationConsole/lib/integ_test/integ_test/common_operations.py +++ b/TrafficCapture/dockerSolution/src/main/docker/migrationConsole/lib/integ_test/integ_test/common_operations.py @@ -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")