Flaky AbLegacyReadWriteTests (~1 in 15 runs, pre-existing) #573

Closed
opened 2026-10-07 19:02:15 -04:00 by dohertj2 · 1 comment
Owner

Pre-existing flake (not introduced by the native-transport work; reproduced at the base commit too):

AbLegacyReadWriteTests in tests/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Tests fails roughly 1 run in 15 (2/40 at the pre-change base). Found during review of the native AB transport plan (branch feat/native-ab-transport).

  • Reproduce with a repeat loop + trx, identify the racing assertion (likely presence-vs-absence or timing), fix deterministically.
Pre-existing flake (not introduced by the native-transport work; reproduced at the base commit too): `AbLegacyReadWriteTests` in `tests/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Tests` fails roughly 1 run in 15 (2/40 at the pre-change base). Found during review of the native AB transport plan (branch `feat/native-ab-transport`). - [ ] Reproduce with a repeat loop + trx, identify the racing assertion (likely presence-vs-absence or timing), fix deterministically.
dohertj2 added the driver/ablegacy label 2026-10-07 19:02:15 -04:00
Author
Owner

Fixed: test defect — FakeAbLegacyTagFactory.Tags was a plain Dictionary written concurrently by the probe loop; now ConcurrentDictionary. 1/120 before, 0/150 after. (merge 007174d2 on master, pushed 2026-10-08)

Fixed: test defect — FakeAbLegacyTagFactory.Tags was a plain Dictionary written concurrently by the probe loop; now ConcurrentDictionary. 1/120 before, 0/150 after. (merge `007174d2` on master, pushed 2026-10-08)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#573