Skip to content

Flaky: productAnalyticsService cross-process opt-out watcher test fails under parallel load #1104

Description

@arul28

Test: apps/desktop/src/main/services/analytics/productAnalyticsService.test.ts :: 'cancels another process's queued client when the shared opt-out marker appears'. Real-timer vi.waitFor on a cross-process fs watcher (two service instances sharing a state dir); passes in isolation, fails ~1/1700 under a loaded shard. Pre-existing on main (verified at a8ff360). Fix the test's synchronization (or the watcher's) rather than raising timeouts. Found during /test for PR #1102.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions