diff --git a/diagnostic_aggregator/test/test_discard_behavior.py b/diagnostic_aggregator/test/test_discard_behavior.py index 16dee016..ddc19dd5 100644 --- a/diagnostic_aggregator/test/test_discard_behavior.py +++ b/diagnostic_aggregator/test/test_discard_behavior.py @@ -117,7 +117,7 @@ foo_status=None, bar_discard=False, bar_status=None, - agg_expected=DiagnosticStatus.ERROR, # <-- This is the case we are testing for. + agg_expected=DiagnosticStatus.STALE, # <-- This is the case we are testing for. # if one of the children is *not* marked discard_stale := true and # there are no statuses, then the parent should roll up to ERROR. ), @@ -126,7 +126,7 @@ foo_status=DiagnosticStatus.OK, bar_discard=False, bar_status=None, - agg_expected=DiagnosticStatus.ERROR, + agg_expected=DiagnosticStatus.STALE, ), TestMetadata( foo_discard=True,