Skip to content

fix(test): add Docker skip guards + stabilize flaky tests under load #677

@tamirdresher

Description

@tamirdresher

What

Add Docker availability skip guards and timeout adjustments to fix flaky tests under full-suite load.

Why

Issue #582 reports ~24 intermittent test failures in two categories:

  1. Docker-dependent tests (~15) fail when Docker Desktop isn't running
  2. Timing/resource contention tests (~9) fail under parallel load but pass in isolation

This affects CI reliability for everyone — false negatives on PRs waste reviewer time.

Proposed Fix

  1. Add describe.skipIf(!dockerAvailable) guard to Docker-dependent test files
  2. Increase timeout margins for speed-gate tests
  3. Add retry logic for ENOTEMPTY cleanup errors

Related

Acceptance Criteria

  • Docker-dependent tests skip gracefully when Docker is unavailable
  • Speed-gate tests pass reliably under full parallel load
  • npm test shows 0 flaky failures on 3 consecutive runs

Metadata

Metadata

Assignees

Labels

go:needs-researchNeeds investigationsquadSquad triage inbox — Lead will assign to a membersquad:fidoAssigned to FIDO (Quality Owner)type:choreMaintenance, refactoring, cleanup

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions