@@ -83,10 +83,7 @@ def _mocked_request_batch_get_items(table_name: str, compute_nodes: [str], ddb_r
8383 ["i-cmp123456789" ],
8484 ["i-lgn123456789" ],
8585 {},
86- "Check failed due to the following erroneous records:\n "
87- " * missing records (2): ['i-cmp123456789', 'i-lgn123456789']\n "
88- " * incomplete records (0): []\n "
89- " * wrong records (0): []" ,
86+ None ,
9087 id = "Check with missing DDB records" ,
9188 ),
9289 pytest .param (
@@ -96,7 +93,7 @@ def _mocked_request_batch_get_items(table_name: str, compute_nodes: [str], ddb_r
9693 "i-cmp123456789" : {"UNEXPECTED_KEY_A" : {"S" : "UNEXPECTED_KEY_VALUE_A" }},
9794 "i-lgn123456789" : {"UNEXPECTED_KEY_B" : {"S" : "UNEXPECTED_KEY_VALUE_B" }},
9895 },
99- "Check failed due to the following erroneous records:\n "
96+ "Check failed due to the following erroneous records (missing records are not counted for the failure) :\n "
10097 " * missing records (0): []\n "
10198 " * incomplete records (2): ['i-cmp123456789', 'i-lgn123456789']\n "
10299 " * wrong records (0): []" ,
@@ -109,7 +106,7 @@ def _mocked_request_batch_get_items(table_name: str, compute_nodes: [str], ddb_r
109106 "i-cmp123456789" : {"cluster_config_version" : {"S" : "WRONG_CLUSTER_CONFIG_VERSION_A" }},
110107 "i-lgn123456789" : {"cluster_config_version" : {"S" : "WRONG_CLUSTER_CONFIG_VERSION_B" }},
111108 },
112- "Check failed due to the following erroneous records:\n "
109+ "Check failed due to the following erroneous records (missing records are not counted for the failure) :\n "
113110 " * missing records (0): []\n "
114111 " * incomplete records (0): []\n "
115112 " * wrong records (2): [('i-cmp123456789', 'WRONG_CLUSTER_CONFIG_VERSION_A'), "
@@ -127,7 +124,7 @@ def _mocked_request_batch_get_items(table_name: str, compute_nodes: [str], ddb_r
127124 "i-cmp1234567893" : {"cluster_config_version" : {"S" : "WRONG_CLUSTER_CONFIG_VERSION_A" }},
128125 "i-lgn1234567893" : {"cluster_config_version" : {"S" : "WRONG_CLUSTER_CONFIG_VERSION_B" }},
129126 },
130- "Check failed due to the following erroneous records:\n "
127+ "Check failed due to the following erroneous records (missing records are not counted for the failure) :\n "
131128 " * missing records (2): ['i-cmp1234567894', 'i-lgn1234567894']\n "
132129 " * incomplete records (2): ['i-cmp1234567892', 'i-lgn1234567892']\n "
133130 " * wrong records (2): [('i-cmp1234567893', 'WRONG_CLUSTER_CONFIG_VERSION_A'), "
0 commit comments