Commit 4e1b6083 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #45784 from xiangpengzhao/fix-integration-tips

Automatic merge from submit-queue Give developer more help info when running integration tests without etcd found. **What this PR does / why we need it**: When running integration tests, if etcd version on env is lower than expected, developer will get info `You can use 'hack/install-etcd.sh' to install a copy in third_party/.` It would be better to have the same info if no etcd installed on env. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
parents e123311d 0cacf526
...@@ -83,7 +83,8 @@ checkEtcdOnPath() { ...@@ -83,7 +83,8 @@ checkEtcdOnPath() {
kube::log::status "Checking etcd is on PATH" kube::log::status "Checking etcd is on PATH"
which etcd && return which etcd && return
kube::log::status "Cannot find etcd, cannot run integration tests." kube::log::status "Cannot find etcd, cannot run integration tests."
kube::log::status "Please see docs/devel/testing.md for instructions." kube::log::status "Please see https://github.com/kubernetes/community/blob/master/contributors/devel/testing.md#install-etcd-dependency for instructions."
kube::log::usage "You can use 'hack/install-etcd.sh' to install a copy in third_party/."
return 1 return 1
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment