Fix L0 test to make it more reliable. (#2178)

This commit is contained in:
Tingluo Huang
2023-01-19 07:33:04 -05:00
committed by GitHub
parent 6da1cde09c
commit 4932412cd6
3 changed files with 210 additions and 56 deletions

View File

@@ -310,6 +310,7 @@ func (r *EphemeralRunnerReconciler) cleanupRunnerLinkedPods(ctx context.Context,
}
if len(runnerLinkedPodList.Items) == 0 {
log.Info("Runner-linked pods are deleted")
return true, nil
}
@@ -344,6 +345,7 @@ func (r *EphemeralRunnerReconciler) cleanupRunnerLinkedSecrets(ctx context.Conte
}
if len(runnerLinkedSecretList.Items) == 0 {
log.Info("Runner-linked secrets are deleted")
return true, nil
}