You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace sleep-based timing with sync-based verification in tests
Replaced TimeUnit.MILLISECONDS.sleep() calls with NodeServer.sync() to
ensure deterministic test verification. Tests now verify correct values
are propagated rather than relying on broadcast counts or timing delays.
Changes:
- testAutomaticPropagation: Uses sync() and verifies value propagation
- testMultipleUpdates: Renamed from testPropagatorBroadcastCount, now
verifies each update is correctly received instead of counting broadcasts
- Both tests use assertEquals to verify actual lattice values
All 68 tests in convex-peer pass successfully.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
0 commit comments