From 717c149a734b1f1c2946e82b43b307fd97f97d8a Mon Sep 17 00:00:00 2001 From: Todd Neal Date: Fri, 4 Aug 2023 12:59:27 -0500 Subject: [PATCH] fix mirror pod nfs test failure due to differing NFS versions /exports *(rw,fsid=0,insecure,no_root_squash) can be mounted as `/exports` using NFSv3 and `/` using NFSv4 Mount as '/', since clients that support both can try both. --- test/e2e_node/mirror_pod_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e_node/mirror_pod_test.go b/test/e2e_node/mirror_pod_test.go index 3f8d0110d19..11c063aee5e 100644 --- a/test/e2e_node/mirror_pod_test.go +++ b/test/e2e_node/mirror_pod_test.go @@ -348,7 +348,7 @@ func createStaticPodUsingNfs(nfsIP string, nodeName string, cmd string, dir stri VolumeSource: v1.VolumeSource{ NFS: &v1.NFSVolumeSource{ Server: nfsIP, - Path: "/exports", + Path: "/", ReadOnly: false, }, },