test(grpc-data): A03 native D7 probe uses AddComment (a forwarded native ack froze opc-plc's EastTankYellow at the origin for the rest of a4s-4)

This commit is contained in:
Joseph Doherty
2026-11-25 02:28:20 -05:00
parent 42e3800f2c
commit 7425b4c4fe
@@ -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)