fix: update comment about LastWriteWins tie-breaking algorithm
Addresses PR feedback about the outdated comment in concurrent-writes.ts. The comment now accurately reflects that the resolution uses the LastWriteWins resolver's tie-breaking algorithm rather than delta processing order.
This commit is contained in:
parent
91514289ae
commit
08fb5778ba
@ -58,7 +58,7 @@ describe('Concurrent Write Scenarios', () => {
|
||||
const result = resolver.resolve();
|
||||
|
||||
expect(result).toBeDefined();
|
||||
// Should resolve deterministically (likely based on delta processing order)
|
||||
// Should resolve deterministically using the LastWriteWins resolver's tie-breaking algorithm
|
||||
expect(typeof result!['entity1'].properties.score).toBe('number');
|
||||
expect([100, 200]).toContain(result!['entity1'].properties.score);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user