Skip to content

Commit d0661d0

Browse files
committed
Update Mount path
1 parent b85bc30 commit d0661d0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

feature/container/containerz/tests/container_lifecycle/containerz_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -492,8 +492,9 @@ func TestVolumes(t *testing.T) {
492492
time.Sleep(5 * time.Second)
493493

494494
mountOpts := map[string]string{
495+
"type": "none",
495496
"options": "bind",
496-
"mountpoint": "/some-path",
497+
"mountpoint": "/tmp",
497498
}
498499

499500
createdVolumeName, err := cli.CreateVolume(ctx, volumeName, "local", nil, mountOpts)
@@ -528,7 +529,7 @@ func TestVolumes(t *testing.T) {
528529

529530
// check options
530531
wantOptions := map[string]string{
531-
"device": "/some-path",
532+
"device": "/tmp",
532533
"o": "bind",
533534
"type": "none",
534535
}

0 commit comments

Comments
 (0)