From 3b3d2905a14f4778e51152a4c847d7f5a044a14e Mon Sep 17 00:00:00 2001 From: x7upLime Date: Sat, 18 Feb 2023 17:29:18 +0200 Subject: [PATCH] Changes variable name in integrataion test --- test/integration/functional_test_mount_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/integration/functional_test_mount_test.go b/test/integration/functional_test_mount_test.go index 3cf80516a1..ea920a6781 100644 --- a/test/integration/functional_test_mount_test.go +++ b/test/integration/functional_test_mount_test.go @@ -290,10 +290,10 @@ func validateMountCmd(ctx context.Context, t *testing.T, profile string) { // no ctx, cancel := context.WithTimeout(ctx, Minutes(10)) - inNodeMounts := []string{"/mount1", "/mount2", "/mount3"} + guestMountPaths := []string{"/mount1", "/mount2", "/mount3"} var mntProcs []*StartSession - for _, guestMount := range inNodeMounts { + for _, guestMount := range guestMountPaths { args := []string{"mount", "-p", profile, fmt.Sprintf("%s:%s", tempDir, guestMount), "--alsologtostderr", "-v=1"} mntProc, err := Start(t, exec.CommandContext(ctx, Target(), args...)) if err != nil { @@ -321,7 +321,7 @@ func validateMountCmd(ctx context.Context, t *testing.T, profile string) { // no // are the mounts alive yet..? checkMount := func() error { - for _, mnt := range inNodeMounts { + for _, mnt := range guestMountPaths { rr, err := Run(t, exec.CommandContext(ctx, Target(), "-p", profile, "ssh", "findmnt -T", mnt)) if err != nil { // if something weird has happened from previous tests..