Use DefaultSnapshotter

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
This commit is contained in:
Gabriel Adrian Samfira 2023-03-13 08:05:40 -07:00
parent 47dd3dcffb
commit 54f8abe553
2 changed files with 5 additions and 2 deletions

View File

@ -22,6 +22,7 @@ package client
import ( import (
"testing" "testing"
. "github.com/containerd/containerd"
"github.com/containerd/containerd/snapshots/testsuite" "github.com/containerd/containerd/snapshots/testsuite"
) )
@ -30,5 +31,5 @@ func runTestSnapshotterClient(t *testing.T) {
t.Skip() t.Skip()
} }
testsuite.SnapshotterSuite(t, "SnapshotterClient", newSnapshotter) testsuite.SnapshotterSuite(t, DefaultSnapshotter, newSnapshotter)
} }

View File

@ -23,6 +23,8 @@ import (
"testing" "testing"
winio "github.com/Microsoft/go-winio" winio "github.com/Microsoft/go-winio"
. "github.com/containerd/containerd"
"github.com/containerd/containerd/snapshots/testsuite" "github.com/containerd/containerd/snapshots/testsuite"
) )
@ -36,5 +38,5 @@ func runTestSnapshotterClient(t *testing.T) {
t.Fatal(err) t.Fatal(err)
} }
defer winio.DisableProcessPrivileges([]string{winio.SeBackupPrivilege, winio.SeRestorePrivilege}) defer winio.DisableProcessPrivileges([]string{winio.SeBackupPrivilege, winio.SeRestorePrivilege})
testsuite.SnapshotterSuite(t, "SnapshotterClient", newSnapshotter) testsuite.SnapshotterSuite(t, DefaultSnapshotter, newSnapshotter)
} }