Skip to content

Commit

Permalink
We do not pass device path to unmount device
Browse files Browse the repository at this point in the history
Also rename attachable-with-long-format file
  • Loading branch information
gnufied committed Dec 3, 2018
1 parent c7598e8 commit 1570f39
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion test/e2e/storage/detach_mounted.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ var _ = utils.SIGDescribe("Detaching volumes", func() {
})

It("should not work when mount is in progress", func() {
driver := "attachable-with-long-format"
driver := "attachable-with-long-mount"
driverInstallAs := driver + "-" + suffix

By(fmt.Sprintf("installing flexvolume %s on node %s as %s", path.Join(driverDir, driver), node.Name, driverInstallAs))
Expand Down
2 changes: 0 additions & 2 deletions test/e2e/testing-manifests/flexvolume/dummy-attachable
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ domountdevice() {

unmountdevice() {
debug "unmountdevice $@"
MNTDEVICE=$2
validateMountDeviceOrDie "$MNTDEVICE" "unmountdevice"
MNTPATH=$1
rm "${MNTPATH}/index.html" >/dev/null 2>&1
umount ${MNTPATH} >/dev/null 2>&1
Expand Down

0 comments on commit 1570f39

Please sign in to comment.