Browse code

test: Skip graph driver tests when using containerd snapshotters

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>

Djordje Lukic authored on 2023/08/23 16:48:27
Showing 1 changed files
... ...
@@ -45,6 +45,7 @@ type graphEventsCounter struct {
45 45
 }
46 46
 
47 47
 func TestExternalGraphDriver(t *testing.T) {
48
+	skip.If(t, testEnv.UsingSnapshotter())
48 49
 	skip.If(t, runtime.GOOS == "windows")
49 50
 	skip.If(t, testEnv.IsRemoteDaemon, "cannot run daemon when remote daemon")
50 51
 	skip.If(t, !requirement.HasHubConnectivity(t))
... ...
@@ -404,6 +405,7 @@ func testGraphDriverPull(c client.APIClient, d *daemon.Daemon) func(*testing.T)
404 404
 }
405 405
 
406 406
 func TestGraphdriverPluginV2(t *testing.T) {
407
+	skip.If(t, testEnv.UsingSnapshotter())
407 408
 	skip.If(t, runtime.GOOS == "windows")
408 409
 	skip.If(t, testEnv.IsRemoteDaemon, "cannot run daemon when remote daemon")
409 410
 	skip.If(t, !requirement.HasHubConnectivity(t))