Skip to content

Commit 91acc0b

Browse files
committed
fix: count per-seq missing rows in validator summary
Per-seq MISSING_OLR/EXTRA_OLR branches incremented total_mismatches but not total_missing_olr/total_missing_lm, under-reporting in the summary output.
1 parent c6b9be4 commit 91acc0b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/dbz-twin/rac/validator.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ def main():
268268
olr_r = olr_by_seq.get(seq)
269269

270270
if lm_r and not olr_r:
271+
total_missing_olr += 1
271272
if is_lob:
272273
total_lob_known += 1
273274
else:
@@ -279,6 +280,7 @@ def main():
279280
continue
280281

281282
if olr_r and not lm_r:
283+
total_missing_lm += 1
282284
if is_lob:
283285
total_lob_known += 1
284286
else:

0 commit comments

Comments
 (0)