diff --git a/internal/reconcile/reconcile_test.go b/internal/reconcile/reconcile_test.go index 4cf8875..cb1bb45 100644 --- a/internal/reconcile/reconcile_test.go +++ b/internal/reconcile/reconcile_test.go @@ -193,7 +193,8 @@ func TestReconcile_ConsecutiveModelErrorsStopTheWholeReconciliationInsteadOfWait assert.Len(t, adj.calls, 3, "three consecutive failures and it stops asking") assert.Equal(t, strings.Join(a, " "), out.Text, "the base text, with none of the partial changes") assert.Equal(t, domain.ReconcileSkipped, out.Reconciliation.Status) - assert.Contains(t, out.Reconciliation.Reason, "gateway down") + assert.Contains(t, out.Reconciliation.Reason, "3 times in a row") + assert.NotContains(t, out.Reconciliation.Reason, "gateway down", "the reason is shown on the page: a kind, not the model's own text") } func TestReconcile_ASuccessBetweenFailuresResetsTheBreaker(t *testing.T) {