Fix integration test flakiness (#351)

Ref https://github.com/summerwind/actions-runner-controller/pull/345#issuecomment-785015406
This commit is contained in:
Yusuke Kuoka
2021-02-25 09:30:32 +09:00
committed by GitHub
parent 4d4137aa28
commit 9da123ae5e
3 changed files with 19 additions and 51 deletions

View File

@@ -204,7 +204,7 @@ func (r *RunnerReplicaSetReconciler) Reconcile(req ctrl.Request) (ctrl.Result, e
updated.Status.ReadyReplicas = ready
if err := r.Status().Update(ctx, updated); err != nil {
log.Error(err, "Failed to update status. Retrying immediately")
log.Info("Failed to update status. Retrying immediately", "error", err.Error())
return ctrl.Result{
Requeue: true,
}, nil