mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
e2e_node: loosen proc mount test
the exact number of lines/ro lines is not important, just that there are more than 0 ro lines and more than 1 line total. this helps accomodate different architectures that implement different kernel APIs Signed-off-by: Peter Hunt <pehunt@redhat.com>
This commit is contained in:
parent
03fe89c233
commit
3d8cb4fa89
@ -42,7 +42,7 @@ var _ = SIGDescribe("DefaultProcMount [LinuxOnly]", framework.WithNodeConformanc
|
||||
f.NamespacePodSecurityLevel = admissionapi.LevelBaseline
|
||||
|
||||
ginkgo.It("will mask proc mounts by default", func(ctx context.Context) {
|
||||
testProcMount(ctx, f, v1.DefaultProcMount, gomega.BeNumerically(">=", 10), gomega.BeNumerically(">=", 7))
|
||||
testProcMount(ctx, f, v1.DefaultProcMount, gomega.BeNumerically(">", 1), gomega.BeNumerically(">", 0))
|
||||
})
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user