Commit f57632f
committed
[AIT-276] feat: enhance object operation handling and test coverage
- Improved handling of skipped operations on ACK (RTO9a3) with detailed comments on echo discard logic.
- Added extensive unit tests for `ObjectsManager`, `LiveMapManager`, and `DefaultLiveCounter` covering edge cases like buffering, tombstoning, and operation deduplication.
- Introduced helper properties for buffered ACKs and object operations in tests.1 parent 08fd014 commit f57632f
File tree
7 files changed
+751
-2
lines changed- liveobjects/src
- main/kotlin/io/ably/lib/objects
- test/kotlin/io/ably/lib/objects/unit
- objects
- type
- livecounter
- livemap
7 files changed
+751
-2
lines changedLines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
227 | 231 | | |
228 | 232 | | |
229 | | - | |
| 233 | + | |
230 | 234 | | |
231 | 235 | | |
232 | 236 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
76 | 79 | | |
77 | 80 | | |
78 | 81 | | |
| |||
0 commit comments