From 54f8abe553ed4d97b2ad523f084296ef1e2c5e09 Mon Sep 17 00:00:00 2001 From: Gabriel Adrian Samfira Date: Mon, 13 Mar 2023 08:05:40 -0700 Subject: [PATCH] Use DefaultSnapshotter Signed-off-by: Gabriel Adrian Samfira --- integration/client/snapshot_unix_test.go | 3 ++- integration/client/snapshot_windows_test.go | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/integration/client/snapshot_unix_test.go b/integration/client/snapshot_unix_test.go index 61495e4bc..5aac3cb00 100644 --- a/integration/client/snapshot_unix_test.go +++ b/integration/client/snapshot_unix_test.go @@ -22,6 +22,7 @@ package client import ( "testing" + . "github.com/containerd/containerd" "github.com/containerd/containerd/snapshots/testsuite" ) @@ -30,5 +31,5 @@ func runTestSnapshotterClient(t *testing.T) { t.Skip() } - testsuite.SnapshotterSuite(t, "SnapshotterClient", newSnapshotter) + testsuite.SnapshotterSuite(t, DefaultSnapshotter, newSnapshotter) } diff --git a/integration/client/snapshot_windows_test.go b/integration/client/snapshot_windows_test.go index ea1109e98..fc0cf38ca 100644 --- a/integration/client/snapshot_windows_test.go +++ b/integration/client/snapshot_windows_test.go @@ -23,6 +23,8 @@ import ( "testing" winio "github.com/Microsoft/go-winio" + + . "github.com/containerd/containerd" "github.com/containerd/containerd/snapshots/testsuite" ) @@ -36,5 +38,5 @@ func runTestSnapshotterClient(t *testing.T) { t.Fatal(err) } defer winio.DisableProcessPrivileges([]string{winio.SeBackupPrivilege, winio.SeRestorePrivilege}) - testsuite.SnapshotterSuite(t, "SnapshotterClient", newSnapshotter) + testsuite.SnapshotterSuite(t, DefaultSnapshotter, newSnapshotter) }