mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 06:27:05 +00:00
prevent conformance test failure in DIND scenario
in the "ci-kubernetes-local-e2e" job, we are running local-up-cluster.sh using DIND. We see failure for "HostPath should give a volume the correct mode [Conformance]" test. The failure looks as follows: linux mounts: path /tmp is mounted on / but it is not a shared or slave mount
This commit is contained in:
parent
d112ffc2eb
commit
8fe04adab2
@ -954,6 +954,8 @@ if [[ "${KUBETEST_IN_DOCKER:-}" == "true" ]]; then
|
||||
export PATH="${KUBE_ROOT}/third_party/etcd:${PATH}"
|
||||
KUBE_FASTBUILD=true make ginkgo cross
|
||||
apt install -y sudo
|
||||
# configure shared mounts to prevent failure in DIND scenarios
|
||||
mount --make-rshared /
|
||||
fi
|
||||
|
||||
# validate that etcd is: not running, in path, and has minimum required version.
|
||||
|
Loading…
Reference in New Issue
Block a user