Skip to content

Commit

Permalink
add successful log
Browse files Browse the repository at this point in the history
  • Loading branch information
cofyc committed Apr 7, 2020
1 parent b508f9c commit d2a76e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/e2e/util/operator/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ func (k *OperatorKiller) Run(stopCh <-chan struct{}) {
err = k.client.CoreV1().Pods(pod.Namespace).Delete(pod.Name, &metav1.DeleteOptions{})
if err != nil {
framework.Logf("failed to delete pod %s/%s: %v", pod.Namespace, pod.Name, err)
} else {
framework.Logf("successfully deleted tidb-operator pod %s/%s", pod.Namespace, pod.Name)
}
}
}, k.config.Interval, k.config.JitterFactor, true, stopCh)
Expand Down

0 comments on commit d2a76e6

Please sign in to comment.