Skip to content

Commit a8cbb41

Browse files
committed
test: use appropriate snapshotter service to walk snapshots
If a different snapshotter service is used, it will walk on the wrong snapshotter, overlayfs, instead of the actual used one by containerd. Signed-off-by: Alexis Murzeau <[email protected]>
1 parent b0c05cd commit a8cbb41

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

client/client_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6648,7 +6648,8 @@ loop0:
66486648
defer client.Close()
66496649

66506650
ctx := namespaces.WithNamespace(sb.Context(), "buildkit")
6651-
snapshotService := client.SnapshotService("overlayfs")
6651+
snapshotterName := sb.Snapshotter()
6652+
snapshotService := client.SnapshotService(snapshotterName)
66526653

66536654
retries = 0
66546655
for {

0 commit comments

Comments
 (0)