diff --git a/scripts/validation/grpc-data/conditions_scenarios.py b/scripts/validation/grpc-data/conditions_scenarios.py index 60dffe1f2..ab16315d8 100644 --- a/scripts/validation/grpc-data/conditions_scenarios.py +++ b/scripts/validation/grpc-data/conditions_scenarios.py @@ -592,8 +592,10 @@ class ConditionScenarios: old = self.ack(consumer, condition, pre["EventId"], "ack-pre-failover-eventid") phase2["ack_pre_failover"] = old self.check("p2_pre_failover_eventid_bad_event_id_unknown", old["event_id_unknown"] and not old["good"]) - if native_pre: # D7 (informational): the native condition's re-bind depends on whether its record time moved - phase2["native_ack_pre_failover"] = self.ack(consumer, native_condition, native_pre["EventId"], "ack-native-pre-failover") + if native_pre: # D7 (informational): the native condition's re-bind depends on whether its record time moved. + # AddComment, not Acknowledge: the same EventId check, but an ack forwarded to opc-plc froze the origin's native + # condition at Active/Acknowledged for the rest of run a4s-4 (A04 then saw no transitions). + phase2["native_comment_pre_failover"] = self.ack(consumer, native_condition, native_pre["EventId"], "comment-native-pre-failover", command="comment") refreshed = self.watch(consumer, "post-failover-refresh") replay = wait_for(lambda: self.latest(refreshed, name), 60) native_replay = wait_for(lambda: self.latest(refreshed, native), 30)