fix(dcl): advance the session generation on same-adapter reconnect and session-scope MxGateway subscription ids (review 2026-10-21 02/C1, 02/L1)
This commit is contained in:
+2
-1
@@ -122,7 +122,8 @@ public class MxGatewayDataConnectionTests
|
||||
fake.OnUpdate!(new MxValueUpdate("T", 1, QualityCode.Good, DateTimeOffset.UtcNow));
|
||||
|
||||
Assert.Equal(0, hits);
|
||||
Assert.Contains(subId, fake.Unsubscribed);
|
||||
// Ids are session-scoped ("{session}:{handle}"); the gateway receives the raw handle.
|
||||
Assert.Equal(subId[(subId.IndexOf(':') + 1)..], Assert.Single(fake.Unsubscribed));
|
||||
}
|
||||
|
||||
// ── read / write + error classification ──
|
||||
|
||||
Reference in New Issue
Block a user