Skip test on windows

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
This commit is contained in:
Derek McGowan 2017-07-27 15:42:34 -07:00
parent da5c72c335
commit 585f7d6494
No known key found for this signature in database
GPG Key ID: F58C5D0A4405ACDB

View File

@ -2,6 +2,7 @@ package containerd
import ( import (
"context" "context"
"runtime"
"testing" "testing"
"github.com/containerd/containerd/snapshot" "github.com/containerd/containerd/snapshot"
@ -25,5 +26,8 @@ func TestSnapshotterClient(t *testing.T) {
if testing.Short() { if testing.Short() {
t.Skip() t.Skip()
} }
if runtime.GOOS == "windows" {
t.Skip("snapshots not yet supported on Windows")
}
testsuite.SnapshotterSuite(t, "SnapshotterClient", newSnapshotter) testsuite.SnapshotterSuite(t, "SnapshotterClient", newSnapshotter)
} }