Commit 1ce6015
committed
test(smoke): wait for opcua_bridge subscription before PLC inject
Smoke flaked on CI: inject-photoeye-flicker fired ~540 ms before the
opcua_bridge completed its AlarmConditionType subscription handshake
with plc-sim. The OPC UA raise event then had no listener, the bridge
caught only the later clear events from restore-line, and the
MANYMOVE_PLC_PHOTOEYE_FLICKER fault never made it to FaultManager.
Poll the bridge container logs for 'subscribed to AlarmConditionType
events' before the inject, plus a 1s margin for the asyncua handshake
to complete on the plc-sim side.1 parent 6ebe454 commit 1ce6015
1 file changed
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
84 | 107 | | |
85 | 108 | | |
86 | 109 | | |
| |||
0 commit comments