spaxel/test
jedarden 8d296d420a
Some checks are pending
CI Benchmark - Fusion Loop Timing / Fusion Loop Timing Benchmark (push) Waiting to run
test(acceptance): add IO-7..IO-11 failure and edge onboarding tests
Implements acceptance tests for failure scenarios and edge cases during
node onboarding per the plan specification:

- IO-7: Provisioning timeout - node that goes silent is marked offline
  within heartbeat window (60s) and surfaced in /api/fleet; no crash
- IO-8: Bad/expired token - invalid token rejected with clear error;
  node never enters fleet; no zombie row
- IO-9: Duplicate MAC - second connection with same MAC handled
  (disconnects first or rejects second); no duplicate rows
- IO-10: Drop mid-onboard - killing simulator during onboarding leaves
  node re-onboardable; no half-provisioned lock
- IO-11: Firmware-version skew - old firmware nodes onboard successfully
  and OTA can be initiated

Tests use the acceptance harness with spaxel-sim and verify proper
handling of each scenario without mothership crashes or data corruption.

Closes: bf-1922s
2026-05-24 12:35:43 -04:00
..
acceptance test(acceptance): add IO-7..IO-11 failure and edge onboarding tests 2026-05-24 12:35:43 -04:00