-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Skeleton tests exist in internal/reconciler/reconciler_test.go — all currently t.Skip. Implement using testutil.NewStateDB and testutil.MockDockerClient.
Tests to implement:
TestReconciler_CircuitBreaker— simulate 5 crashes in 600s window, verifycircuit_open=1andcircuit_retry_atis setTestReconciler_AutoRecovery— setcircuit_retry_atto past, run tick, verify circuit reset andstatus=stoppedTestReconciler_UnhealthyRestart— mockInspectContainerreturningHealthStatus="unhealthy", verifyStopContainercalledTestReconciler_StaleDeployment— service withstatus=deployingandupdated_at>10min, verify marked failed
Depends on: #test-wire-migrations (testutil must use real migration runner)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels