33 lines
1008 B
Diff
33 lines
1008 B
Diff
From e880fb184cc9147cc9dd3387752c1ef8b3d20be2 Mon Sep 17 00:00:00 2001
|
|
From: Jamie Anderson <jamieand@amazon.com>
|
|
Date: Wed, 3 Mar 2021 21:20:24 +0000
|
|
Subject: [PATCH] Skip distribution tests that network
|
|
|
|
Signed-off-by: Jamie Anderson <jamieand@amazon.com>
|
|
---
|
|
distribution/xfer/transfer_test.go | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/distribution/xfer/transfer_test.go b/distribution/xfer/transfer_test.go
|
|
index f8f8e96..6764f17 100644
|
|
--- a/distribution/xfer/transfer_test.go
|
|
+++ b/distribution/xfer/transfer_test.go
|
|
@@ -3,12 +3,14 @@ package xfer // import "github.com/docker/docker/distribution/xfer"
|
|
import (
|
|
"sync/atomic"
|
|
"testing"
|
|
+ "github.com/docker/docker/testutil"
|
|
"time"
|
|
|
|
"github.com/docker/docker/pkg/progress"
|
|
)
|
|
|
|
func TestTransfer(t *testing.T) {
|
|
+ testutil.SkipIfBuildroot(t)
|
|
makeXferFunc := func(id string) DoFunc {
|
|
return func(progressChan chan<- progress.Progress, start <-chan struct{}, _ chan<- struct{}) Transfer {
|
|
select {
|
|
--
|
|
2.25.0.24.gbc7a3d4
|
|
|