Skip to content

Commit c9c7097

Browse files
Use k8s v1.19.2 in envtest
1 parent 33f1d80 commit c9c7097

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

hack/check-everything.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ source ${hack_dir}/setup-envtest.sh
2525
tmp_root=/tmp
2626
kb_root_dir=$tmp_root/kubebuilder
2727

28-
ENVTEST_K8S_VERSION=${ENVTEST_K8S_VERSION:-"1.16.4"}
28+
ENVTEST_K8S_VERSION=${ENVTEST_K8S_VERSION:-"1.19.2"}
2929

3030
fetch_envtest_tools "$kb_root_dir"
3131
fetch_envtest_tools "${hack_dir}/../pkg/internal/testing/integration/assets"

hack/setup-envtest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function fetch_envtest_tools {
6262
tmp_root=/tmp
6363
envtest_root_dir=$tmp_root/envtest
6464

65-
k8s_version="${ENVTEST_K8S_VERSION:-1.16.4}"
65+
k8s_version="${ENVTEST_K8S_VERSION:-1.19.2}"
6666
goarch="$(go env GOARCH)"
6767
goos="$(go env GOOS)"
6868

pkg/internal/testing/integration/internal/integration_tests/etcd_integration_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ var _ = Describe("Etcd", func() {
5858
// for on StdErr
5959
Expect(etcd.Start()).To(MatchError(ContainSubstring("timeout")))
6060

61-
Expect(stdout.String()).To(ContainSubstring("member flags"))
62-
Expect(stderr.String()).To(ContainSubstring("usage: etcd"))
61+
Expect(stdout.String()).To(ContainSubstring("Member:"))
62+
Expect(stderr.String()).To(ContainSubstring("Usage:"))
6363
})
6464
})

0 commit comments

Comments
 (0)