bump gotest.tools v3.0.1 for compatibility with Go 1.14

full diff: https://github.com/gotestyourself/gotest.tools/compare/v2.3.0...v3.0.1

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2020-02-07 14:39:24 +01:00
parent c6400be468
commit 9f0b3f5609
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C
385 changed files with 1054 additions and 868 deletions

View file

@ -3,8 +3,8 @@ package middleware // import "github.com/docker/docker/api/server/middleware"
import ( import (
"testing" "testing"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestMaskSecretKeys(t *testing.T) { func TestMaskSecretKeys(t *testing.T) {

View file

@ -8,8 +8,8 @@ import (
"testing" "testing"
"github.com/docker/docker/api/server/httputils" "github.com/docker/docker/api/server/httputils"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestVersionMiddlewareVersion(t *testing.T) { func TestVersionMiddlewareVersion(t *testing.T) {

View file

@ -4,8 +4,8 @@ import (
"errors" "errors"
"testing" "testing"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestToJSON(t *testing.T) { func TestToJSON(t *testing.T) {

View file

@ -5,8 +5,8 @@ import (
"strings" "strings"
"testing" "testing"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func strPtr(source string) *string { func strPtr(source string) *string {

View file

@ -5,9 +5,9 @@ import (
"testing" "testing"
"github.com/docker/docker/pkg/containerfs" "github.com/docker/docker/pkg/containerfs"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
"gotest.tools/fs" "gotest.tools/v3/fs"
) )
func TestIsExistingDirectory(t *testing.T) { func TestIsExistingDirectory(t *testing.T) {

View file

@ -18,8 +18,8 @@ import (
"github.com/moby/buildkit/frontend/dockerfile/instructions" "github.com/moby/buildkit/frontend/dockerfile/instructions"
"github.com/moby/buildkit/frontend/dockerfile/parser" "github.com/moby/buildkit/frontend/dockerfile/parser"
"github.com/moby/buildkit/frontend/dockerfile/shell" "github.com/moby/buildkit/frontend/dockerfile/shell"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func newBuilderWithMockBackend() *Builder { func newBuilderWithMockBackend() *Builder {

View file

@ -9,9 +9,9 @@ import (
"github.com/docker/docker/pkg/archive" "github.com/docker/docker/pkg/archive"
"github.com/docker/docker/pkg/reexec" "github.com/docker/docker/pkg/reexec"
"github.com/moby/buildkit/frontend/dockerfile/instructions" "github.com/moby/buildkit/frontend/dockerfile/instructions"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
"gotest.tools/skip" "gotest.tools/v3/skip"
) )
type dispatchTestCase struct { type dispatchTestCase struct {

View file

@ -9,7 +9,7 @@ import (
"github.com/docker/docker/builder" "github.com/docker/docker/builder"
"github.com/docker/docker/image" "github.com/docker/docker/image"
ocispec "github.com/opencontainers/image-spec/specs-go/v1" ocispec "github.com/opencontainers/image-spec/specs-go/v1"
"gotest.tools/assert" "gotest.tools/v3/assert"
) )
func getMockImageSource(getImageImage builder.Image, getImageLayer builder.ROLayer, getImageError error) *imageSources { func getMockImageSource(getImageImage builder.Image, getImageLayer builder.ROLayer, getImageError error) *imageSources {

View file

@ -7,8 +7,8 @@ import (
"github.com/docker/docker/api/types" "github.com/docker/docker/api/types"
"github.com/docker/docker/pkg/idtools" "github.com/docker/docker/pkg/idtools"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestChownFlagParsing(t *testing.T) { func TestChownFlagParsing(t *testing.T) {

View file

@ -17,9 +17,9 @@ import (
"github.com/docker/docker/pkg/containerfs" "github.com/docker/docker/pkg/containerfs"
"github.com/docker/go-connections/nat" "github.com/docker/go-connections/nat"
"github.com/opencontainers/go-digest" "github.com/opencontainers/go-digest"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
"gotest.tools/skip" "gotest.tools/v3/skip"
) )
func TestEmptyDockerfile(t *testing.T) { func TestEmptyDockerfile(t *testing.T) {

View file

@ -6,8 +6,8 @@ import (
"fmt" "fmt"
"testing" "testing"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestNormalizeDest(t *testing.T) { func TestNormalizeDest(t *testing.T) {

View file

@ -14,8 +14,8 @@ import (
"testing" "testing"
"github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestParseRemoteURL(t *testing.T) { func TestParseRemoteURL(t *testing.T) {

View file

@ -3,8 +3,8 @@ package remotecontext // import "github.com/docker/docker/builder/remotecontext"
import ( import (
"testing" "testing"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestDetectContentType(t *testing.T) { func TestDetectContentType(t *testing.T) {

View file

@ -10,9 +10,9 @@ import (
"testing" "testing"
"github.com/docker/docker/builder" "github.com/docker/docker/builder"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
"gotest.tools/fs" "gotest.tools/v3/fs"
) )
var binaryContext = []byte{0xFD, 0x37, 0x7A, 0x58, 0x5A, 0x00} // xz magic var binaryContext = []byte{0xFD, 0x37, 0x7A, 0x58, 0x5A, 0x00} // xz magic

View file

@ -10,7 +10,7 @@ import (
"github.com/docker/docker/pkg/archive" "github.com/docker/docker/pkg/archive"
"github.com/docker/docker/pkg/reexec" "github.com/docker/docker/pkg/reexec"
"github.com/pkg/errors" "github.com/pkg/errors"
"gotest.tools/skip" "gotest.tools/v3/skip"
) )
const ( const (

View file

@ -13,10 +13,10 @@ import (
"github.com/docker/docker/api" "github.com/docker/docker/api"
"github.com/docker/docker/api/types" "github.com/docker/docker/api/types"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
"gotest.tools/env" "gotest.tools/v3/env"
"gotest.tools/skip" "gotest.tools/v3/skip"
) )
func TestNewClientWithOpsFromEnv(t *testing.T) { func TestNewClientWithOpsFromEnv(t *testing.T) {

View file

@ -13,8 +13,8 @@ import (
"github.com/docker/docker/api/types" "github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/swarm" "github.com/docker/docker/api/types/swarm"
"github.com/docker/docker/errdefs" "github.com/docker/docker/errdefs"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestConfigCreateUnsupported(t *testing.T) { func TestConfigCreateUnsupported(t *testing.T) {

View file

@ -13,8 +13,8 @@ import (
"github.com/docker/docker/api/types/swarm" "github.com/docker/docker/api/types/swarm"
"github.com/docker/docker/errdefs" "github.com/docker/docker/errdefs"
"github.com/pkg/errors" "github.com/pkg/errors"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestConfigInspectNotFound(t *testing.T) { func TestConfigInspectNotFound(t *testing.T) {

View file

@ -14,8 +14,8 @@ import (
"github.com/docker/docker/api/types/filters" "github.com/docker/docker/api/types/filters"
"github.com/docker/docker/api/types/swarm" "github.com/docker/docker/api/types/swarm"
"github.com/docker/docker/errdefs" "github.com/docker/docker/errdefs"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestConfigListUnsupported(t *testing.T) { func TestConfigListUnsupported(t *testing.T) {

View file

@ -10,8 +10,8 @@ import (
"testing" "testing"
"github.com/docker/docker/errdefs" "github.com/docker/docker/errdefs"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestConfigRemoveUnsupported(t *testing.T) { func TestConfigRemoveUnsupported(t *testing.T) {

View file

@ -11,8 +11,8 @@ import (
"github.com/docker/docker/api/types/swarm" "github.com/docker/docker/api/types/swarm"
"github.com/docker/docker/errdefs" "github.com/docker/docker/errdefs"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestConfigUpdateUnsupported(t *testing.T) { func TestConfigUpdateUnsupported(t *testing.T) {

View file

@ -15,8 +15,8 @@ import (
"github.com/docker/docker/api/types" "github.com/docker/docker/api/types"
"github.com/docker/docker/errdefs" "github.com/docker/docker/errdefs"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestContainerLogsNotFoundError(t *testing.T) { func TestContainerLogsNotFoundError(t *testing.T) {

View file

@ -13,8 +13,8 @@ import (
"github.com/docker/docker/api/types" "github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/filters" "github.com/docker/docker/api/types/filters"
"github.com/docker/docker/errdefs" "github.com/docker/docker/errdefs"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestContainersPruneError(t *testing.T) { func TestContainersPruneError(t *testing.T) {

View file

@ -11,8 +11,8 @@ import (
"github.com/docker/docker/api/types" "github.com/docker/docker/api/types"
"github.com/docker/docker/errdefs" "github.com/docker/docker/errdefs"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestContainerRemoveError(t *testing.T) { func TestContainerRemoveError(t *testing.T) {

View file

@ -6,8 +6,8 @@ import (
"testing" "testing"
"github.com/pkg/errors" "github.com/pkg/errors"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestDistributionInspectUnsupported(t *testing.T) { func TestDistributionInspectUnsupported(t *testing.T) {

View file

@ -13,7 +13,7 @@ import (
"github.com/docker/docker/api/server/httputils" "github.com/docker/docker/api/server/httputils"
"github.com/docker/docker/api/types" "github.com/docker/docker/api/types"
"github.com/pkg/errors" "github.com/pkg/errors"
"gotest.tools/assert" "gotest.tools/v3/assert"
) )
func TestTLSCloseWriter(t *testing.T) { func TestTLSCloseWriter(t *testing.T) {

View file

@ -14,8 +14,8 @@ import (
"github.com/docker/docker/api/types" "github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/filters" "github.com/docker/docker/api/types/filters"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestImagesPruneError(t *testing.T) { func TestImagesPruneError(t *testing.T) {

View file

@ -12,8 +12,8 @@ import (
"github.com/docker/docker/api/types" "github.com/docker/docker/api/types"
"github.com/docker/docker/errdefs" "github.com/docker/docker/errdefs"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestImageRemoveError(t *testing.T) { func TestImageRemoveError(t *testing.T) {

View file

@ -14,8 +14,8 @@ import (
"github.com/docker/docker/api/types/network" "github.com/docker/docker/api/types/network"
"github.com/docker/docker/errdefs" "github.com/docker/docker/errdefs"
"github.com/pkg/errors" "github.com/pkg/errors"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestNetworkInspectError(t *testing.T) { func TestNetworkInspectError(t *testing.T) {

View file

@ -13,8 +13,8 @@ import (
"github.com/docker/docker/api/types" "github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/filters" "github.com/docker/docker/api/types/filters"
"github.com/docker/docker/errdefs" "github.com/docker/docker/errdefs"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestNetworksPruneError(t *testing.T) { func TestNetworksPruneError(t *testing.T) {

View file

@ -4,7 +4,7 @@ import (
"testing" "testing"
"time" "time"
"gotest.tools/assert" "gotest.tools/v3/assert"
) )
func TestOptionWithTimeout(t *testing.T) { func TestOptionWithTimeout(t *testing.T) {

View file

@ -8,8 +8,8 @@ import (
"strings" "strings"
"testing" "testing"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
// TestPingFail tests that when a server sends a non-successful response that we // TestPingFail tests that when a server sends a non-successful response that we

View file

@ -12,8 +12,8 @@ import (
"github.com/docker/docker/api/types" "github.com/docker/docker/api/types"
"github.com/docker/docker/errdefs" "github.com/docker/docker/errdefs"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
// TestSetHostHeader should set fake host for local communications, set real host // TestSetHostHeader should set fake host for local communications, set real host

View file

@ -13,8 +13,8 @@ import (
"github.com/docker/docker/api/types" "github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/swarm" "github.com/docker/docker/api/types/swarm"
"github.com/docker/docker/errdefs" "github.com/docker/docker/errdefs"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestSecretCreateUnsupported(t *testing.T) { func TestSecretCreateUnsupported(t *testing.T) {

View file

@ -13,8 +13,8 @@ import (
"github.com/docker/docker/api/types/swarm" "github.com/docker/docker/api/types/swarm"
"github.com/docker/docker/errdefs" "github.com/docker/docker/errdefs"
"github.com/pkg/errors" "github.com/pkg/errors"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestSecretInspectUnsupported(t *testing.T) { func TestSecretInspectUnsupported(t *testing.T) {

View file

@ -14,8 +14,8 @@ import (
"github.com/docker/docker/api/types/filters" "github.com/docker/docker/api/types/filters"
"github.com/docker/docker/api/types/swarm" "github.com/docker/docker/api/types/swarm"
"github.com/docker/docker/errdefs" "github.com/docker/docker/errdefs"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestSecretListUnsupported(t *testing.T) { func TestSecretListUnsupported(t *testing.T) {

View file

@ -10,8 +10,8 @@ import (
"testing" "testing"
"github.com/docker/docker/errdefs" "github.com/docker/docker/errdefs"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestSecretRemoveUnsupported(t *testing.T) { func TestSecretRemoveUnsupported(t *testing.T) {

View file

@ -11,8 +11,8 @@ import (
"github.com/docker/docker/api/types/swarm" "github.com/docker/docker/api/types/swarm"
"github.com/docker/docker/errdefs" "github.com/docker/docker/errdefs"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestSecretUpdateUnsupported(t *testing.T) { func TestSecretUpdateUnsupported(t *testing.T) {

View file

@ -16,8 +16,8 @@ import (
"github.com/docker/docker/errdefs" "github.com/docker/docker/errdefs"
digest "github.com/opencontainers/go-digest" digest "github.com/opencontainers/go-digest"
v1 "github.com/opencontainers/image-spec/specs-go/v1" v1 "github.com/opencontainers/image-spec/specs-go/v1"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestServiceCreateError(t *testing.T) { func TestServiceCreateError(t *testing.T) {

View file

@ -15,8 +15,8 @@ import (
"github.com/docker/docker/api/types" "github.com/docker/docker/api/types"
"github.com/docker/docker/errdefs" "github.com/docker/docker/errdefs"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestServiceLogsError(t *testing.T) { func TestServiceLogsError(t *testing.T) {

View file

@ -10,8 +10,8 @@ import (
"testing" "testing"
"github.com/docker/docker/errdefs" "github.com/docker/docker/errdefs"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestServiceRemoveError(t *testing.T) { func TestServiceRemoveError(t *testing.T) {

View file

@ -12,8 +12,8 @@ import (
"github.com/docker/docker/api/types" "github.com/docker/docker/api/types"
"github.com/docker/docker/errdefs" "github.com/docker/docker/errdefs"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestSwarmGetUnlockKeyError(t *testing.T) { func TestSwarmGetUnlockKeyError(t *testing.T) {

View file

@ -13,8 +13,8 @@ import (
"github.com/docker/docker/api/types" "github.com/docker/docker/api/types"
"github.com/docker/docker/errdefs" "github.com/docker/docker/errdefs"
"github.com/pkg/errors" "github.com/pkg/errors"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestVolumeInspectError(t *testing.T) { func TestVolumeInspectError(t *testing.T) {

View file

@ -7,8 +7,8 @@ import (
"github.com/docker/docker/daemon/config" "github.com/docker/docker/daemon/config"
"github.com/spf13/pflag" "github.com/spf13/pflag"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestDaemonParseShmSize(t *testing.T) { func TestDaemonParseShmSize(t *testing.T) {

View file

@ -6,9 +6,9 @@ import (
"github.com/docker/docker/daemon/config" "github.com/docker/docker/daemon/config"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
"github.com/spf13/pflag" "github.com/spf13/pflag"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
"gotest.tools/fs" "gotest.tools/v3/fs"
) )
func defaultOptions(t *testing.T, configFile string) *daemonOptions { func defaultOptions(t *testing.T, configFile string) *daemonOptions {

View file

@ -6,9 +6,9 @@ import (
"testing" "testing"
"github.com/docker/docker/daemon/config" "github.com/docker/docker/daemon/config"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
"gotest.tools/fs" "gotest.tools/v3/fs"
) )
func TestLoadDaemonCliConfigWithDaemonFlags(t *testing.T) { func TestLoadDaemonCliConfigWithDaemonFlags(t *testing.T) {

View file

@ -7,8 +7,8 @@ import (
cliconfig "github.com/docker/docker/cli/config" cliconfig "github.com/docker/docker/cli/config"
"github.com/docker/docker/daemon/config" "github.com/docker/docker/daemon/config"
"github.com/spf13/pflag" "github.com/spf13/pflag"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestCommonOptionsInstallFlags(t *testing.T) { func TestCommonOptionsInstallFlags(t *testing.T) {

View file

@ -11,7 +11,7 @@ import (
swarmtypes "github.com/docker/docker/api/types/swarm" swarmtypes "github.com/docker/docker/api/types/swarm"
"github.com/docker/docker/daemon/logger/jsonfilelog" "github.com/docker/docker/daemon/logger/jsonfilelog"
"github.com/docker/docker/pkg/signal" "github.com/docker/docker/pkg/signal"
"gotest.tools/assert" "gotest.tools/v3/assert"
) )
func TestContainerStopSignal(t *testing.T) { func TestContainerStopSignal(t *testing.T) {

View file

@ -9,8 +9,8 @@ import (
"github.com/docker/docker/api/types" "github.com/docker/docker/api/types"
containertypes "github.com/docker/docker/api/types/container" containertypes "github.com/docker/docker/api/types/container"
"github.com/google/uuid" "github.com/google/uuid"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
var root string var root string

View file

@ -8,7 +8,7 @@ import (
"github.com/docker/docker/api/types/swarm/runtime" "github.com/docker/docker/api/types/swarm/runtime"
swarmapi "github.com/docker/swarmkit/api" swarmapi "github.com/docker/swarmkit/api"
google_protobuf3 "github.com/gogo/protobuf/types" google_protobuf3 "github.com/gogo/protobuf/types"
"gotest.tools/assert" "gotest.tools/v3/assert"
) )
func TestServiceConvertFromGRPCRuntimeContainer(t *testing.T) { func TestServiceConvertFromGRPCRuntimeContainer(t *testing.T) {

View file

@ -5,7 +5,7 @@ import (
"github.com/docker/docker/api/types/container" "github.com/docker/docker/api/types/container"
swarmapi "github.com/docker/swarmkit/api" swarmapi "github.com/docker/swarmkit/api"
"gotest.tools/assert" "gotest.tools/v3/assert"
) )
func TestIsolationConversion(t *testing.T) { func TestIsolationConversion(t *testing.T) {

View file

@ -5,8 +5,8 @@ import (
"github.com/docker/docker/api/types/filters" "github.com/docker/docker/api/types/filters"
"github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp"
"gotest.tools/assert" "gotest.tools/v3/assert"
"gotest.tools/fs" "gotest.tools/v3/fs"
) )
func TestBuilderGC(t *testing.T) { func TestBuilderGC(t *testing.T) {

View file

@ -9,10 +9,10 @@ import (
"github.com/docker/docker/daemon/discovery" "github.com/docker/docker/daemon/discovery"
"github.com/docker/docker/opts" "github.com/docker/docker/opts"
"github.com/spf13/pflag" "github.com/spf13/pflag"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
"gotest.tools/fs" "gotest.tools/v3/fs"
"gotest.tools/skip" "gotest.tools/v3/skip"
) )
func TestDaemonConfigurationNotFound(t *testing.T) { func TestDaemonConfigurationNotFound(t *testing.T) {

View file

@ -8,9 +8,9 @@ import (
"github.com/docker/docker/opts" "github.com/docker/docker/opts"
units "github.com/docker/go-units" units "github.com/docker/go-units"
"github.com/spf13/pflag" "github.com/spf13/pflag"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
"gotest.tools/fs" "gotest.tools/v3/fs"
) )
func TestGetConflictFreeConfiguration(t *testing.T) { func TestGetConflictFreeConfiguration(t *testing.T) {

View file

@ -8,8 +8,8 @@ import (
"github.com/docker/docker/opts" "github.com/docker/docker/opts"
"github.com/spf13/pflag" "github.com/spf13/pflag"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestDaemonConfigurationMerge(t *testing.T) { func TestDaemonConfigurationMerge(t *testing.T) {

View file

@ -9,7 +9,7 @@ import (
containertypes "github.com/docker/docker/api/types/container" containertypes "github.com/docker/docker/api/types/container"
"github.com/docker/docker/daemon/config" "github.com/docker/docker/daemon/config"
"github.com/docker/go-connections/nat" "github.com/docker/go-connections/nat"
"gotest.tools/assert" "gotest.tools/v3/assert"
) )
// TestContainerWarningHostAndPublishPorts that a warning is returned when setting network mode to host and specifying published ports. // TestContainerWarningHostAndPublishPorts that a warning is returned when setting network mode to host and specifying published ports.

View file

@ -5,7 +5,7 @@ import (
"github.com/docker/docker/api/types/network" "github.com/docker/docker/api/types/network"
"github.com/docker/docker/errdefs" "github.com/docker/docker/errdefs"
"gotest.tools/assert" "gotest.tools/v3/assert"
) )
// Test case for 35752 // Test case for 35752

View file

@ -12,8 +12,8 @@ import (
containertypes "github.com/docker/docker/api/types/container" containertypes "github.com/docker/docker/api/types/container"
"github.com/docker/docker/daemon/config" "github.com/docker/docker/daemon/config"
"github.com/docker/docker/pkg/mount" "github.com/docker/docker/pkg/mount"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
const mountsFixture = `142 78 0:38 / / rw,relatime - aufs none rw,si=573b861da0b3a05b,dio const mountsFixture = `142 78 0:38 / / rw,relatime - aufs none rw,si=573b861da0b3a05b,dio

View file

@ -17,8 +17,8 @@ import (
"github.com/docker/go-connections/nat" "github.com/docker/go-connections/nat"
"github.com/docker/libnetwork" "github.com/docker/libnetwork"
"github.com/pkg/errors" "github.com/pkg/errors"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
// //

View file

@ -15,8 +15,8 @@ import (
"github.com/docker/docker/daemon/config" "github.com/docker/docker/daemon/config"
"github.com/docker/docker/pkg/sysinfo" "github.com/docker/docker/pkg/sysinfo"
"golang.org/x/sys/unix" "golang.org/x/sys/unix"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
type fakeContainerGetter struct { type fakeContainerGetter struct {

View file

@ -9,8 +9,8 @@ import (
"github.com/docker/docker/api/types" "github.com/docker/docker/api/types"
containertypes "github.com/docker/docker/api/types/container" containertypes "github.com/docker/docker/api/types/container"
"github.com/docker/docker/container" "github.com/docker/docker/container"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func newDaemonWithTmpRoot(t *testing.T) (*Daemon, func()) { func newDaemonWithTmpRoot(t *testing.T) (*Daemon, func()) {

View file

@ -5,8 +5,8 @@ import (
"testing" "testing"
"time" "time"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestDiscoveryOptsErrors(t *testing.T) { func TestDiscoveryOptsErrors(t *testing.T) {

View file

@ -10,7 +10,7 @@ import (
"github.com/docker/docker/daemon/exec" "github.com/docker/docker/daemon/exec"
"github.com/opencontainers/runc/libcontainer/apparmor" "github.com/opencontainers/runc/libcontainer/apparmor"
specs "github.com/opencontainers/runtime-spec/specs-go" specs "github.com/opencontainers/runtime-spec/specs-go"
"gotest.tools/assert" "gotest.tools/v3/assert"
) )
func TestExecSetPlatformOpt(t *testing.T) { func TestExecSetPlatformOpt(t *testing.T) {

View file

@ -17,8 +17,8 @@ import (
"github.com/docker/docker/pkg/archive" "github.com/docker/docker/pkg/archive"
"github.com/docker/docker/pkg/reexec" "github.com/docker/docker/pkg/reexec"
"github.com/docker/docker/pkg/stringid" "github.com/docker/docker/pkg/stringid"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
var ( var (

View file

@ -14,8 +14,8 @@ import (
"github.com/docker/docker/pkg/system" "github.com/docker/docker/pkg/system"
"golang.org/x/sys/unix" "golang.org/x/sys/unix"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestCopy(t *testing.T) { func TestCopy(t *testing.T) {

View file

@ -6,7 +6,7 @@ import (
"path/filepath" "path/filepath"
"testing" "testing"
"gotest.tools/assert" "gotest.tools/v3/assert"
) )
func TestIsEmptyDir(t *testing.T) { func TestIsEmptyDir(t *testing.T) {

View file

@ -9,7 +9,7 @@ import (
contdriver "github.com/containerd/continuity/driver" contdriver "github.com/containerd/continuity/driver"
"github.com/docker/docker/pkg/stringid" "github.com/docker/docker/pkg/stringid"
"gotest.tools/assert" "gotest.tools/v3/assert"
) )
// DriverBenchExists benchmarks calls to exist // DriverBenchExists benchmarks calls to exist

View file

@ -17,8 +17,8 @@ import (
"github.com/docker/docker/pkg/stringid" "github.com/docker/docker/pkg/stringid"
units "github.com/docker/go-units" units "github.com/docker/go-units"
"golang.org/x/sys/unix" "golang.org/x/sys/unix"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
var ( var (

View file

@ -10,8 +10,8 @@ import (
contdriver "github.com/containerd/continuity/driver" contdriver "github.com/containerd/continuity/driver"
"github.com/docker/docker/daemon/graphdriver" "github.com/docker/docker/daemon/graphdriver"
"golang.org/x/sys/unix" "golang.org/x/sys/unix"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func verifyFile(t testing.TB, path string, mode os.FileMode, uid, gid uint32) { func verifyFile(t testing.TB, path string, mode os.FileMode, uid, gid uint32) {

View file

@ -11,9 +11,9 @@ import (
"testing" "testing"
"golang.org/x/sys/unix" "golang.org/x/sys/unix"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
"gotest.tools/fs" "gotest.tools/v3/fs"
) )
// 10MB // 10MB

View file

@ -3,7 +3,7 @@ package daemon
import ( import (
"testing" "testing"
"gotest.tools/assert" "gotest.tools/v3/assert"
) )
func TestMaskURLCredentials(t *testing.T) { func TestMaskURLCredentials(t *testing.T) {

View file

@ -5,8 +5,8 @@ package daemon // import "github.com/docker/docker/daemon"
import ( import (
"testing" "testing"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestParseInitVersion(t *testing.T) { func TestParseInitVersion(t *testing.T) {

View file

@ -7,8 +7,8 @@ import (
"github.com/docker/docker/container" "github.com/docker/docker/container"
"github.com/docker/docker/daemon/config" "github.com/docker/docker/daemon/config"
"github.com/docker/docker/daemon/exec" "github.com/docker/docker/daemon/exec"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestGetInspectData(t *testing.T) { func TestGetInspectData(t *testing.T) {

View file

@ -5,7 +5,7 @@ import (
"github.com/docker/docker/api/types" "github.com/docker/docker/api/types"
"github.com/docker/docker/dockerversion" "github.com/docker/docker/dockerversion"
"gotest.tools/assert" "gotest.tools/v3/assert"
) )
func TestFillLicense(t *testing.T) { func TestFillLicense(t *testing.T) {

View file

@ -13,8 +13,8 @@ import (
"github.com/docker/docker/image" "github.com/docker/docker/image"
"github.com/google/uuid" "github.com/google/uuid"
digest "github.com/opencontainers/go-digest" digest "github.com/opencontainers/go-digest"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
var root string var root string

View file

@ -9,8 +9,8 @@ import (
"github.com/docker/docker/api/types/plugins/logdriver" "github.com/docker/docker/api/types/plugins/logdriver"
protoio "github.com/gogo/protobuf/io" protoio "github.com/gogo/protobuf/io"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
// mockLoggingPlugin implements the loggingPlugin interface for testing purposes // mockLoggingPlugin implements the loggingPlugin interface for testing purposes

View file

@ -22,8 +22,8 @@ import (
"github.com/docker/docker/daemon/logger" "github.com/docker/docker/daemon/logger"
"github.com/docker/docker/daemon/logger/loggerutils" "github.com/docker/docker/daemon/logger/loggerutils"
"github.com/docker/docker/dockerversion" "github.com/docker/docker/dockerversion"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
const ( const (

View file

@ -15,9 +15,9 @@ import (
"github.com/docker/docker/daemon/logger" "github.com/docker/docker/daemon/logger"
"github.com/docker/docker/daemon/logger/jsonfilelog/jsonlog" "github.com/docker/docker/daemon/logger/jsonfilelog/jsonlog"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
"gotest.tools/fs" "gotest.tools/v3/fs"
) )
func TestJSONFileLogger(t *testing.T) { func TestJSONFileLogger(t *testing.T) {

View file

@ -8,7 +8,7 @@ import (
"testing" "testing"
"time" "time"
"gotest.tools/assert" "gotest.tools/v3/assert"
) )
func TestJSONLogsMarshalJSONBuf(t *testing.T) { func TestJSONLogsMarshalJSONBuf(t *testing.T) {

View file

@ -4,8 +4,8 @@ import (
"testing" "testing"
"time" "time"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestFastTimeMarshalJSONWithInvalidYear(t *testing.T) { func TestFastTimeMarshalJSONWithInvalidYear(t *testing.T) {

View file

@ -7,8 +7,8 @@ import (
"time" "time"
"github.com/docker/docker/daemon/logger" "github.com/docker/docker/daemon/logger"
"gotest.tools/assert" "gotest.tools/v3/assert"
"gotest.tools/fs" "gotest.tools/v3/fs"
) )
func BenchmarkJSONFileLoggerReadLogs(b *testing.B) { func BenchmarkJSONFileLoggerReadLogs(b *testing.B) {

View file

@ -20,8 +20,8 @@ import (
"github.com/docker/docker/api/types/plugins/logdriver" "github.com/docker/docker/api/types/plugins/logdriver"
"github.com/docker/docker/daemon/logger" "github.com/docker/docker/daemon/logger"
protoio "github.com/gogo/protobuf/io" protoio "github.com/gogo/protobuf/io"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestWriteLog(t *testing.T) { func TestWriteLog(t *testing.T) {

View file

@ -6,7 +6,7 @@ import (
"path/filepath" "path/filepath"
"testing" "testing"
"gotest.tools/assert" "gotest.tools/v3/assert"
) )
func TestOpenFileDelete(t *testing.T) { func TestOpenFileDelete(t *testing.T) {

View file

@ -12,7 +12,7 @@ import (
"github.com/docker/docker/daemon/logger" "github.com/docker/docker/daemon/logger"
"github.com/docker/docker/pkg/tailfile" "github.com/docker/docker/pkg/tailfile"
"gotest.tools/assert" "gotest.tools/v3/assert"
) )
func TestTailFiles(t *testing.T) { func TestTailFiles(t *testing.T) {

View file

@ -11,8 +11,8 @@ import (
"time" "time"
"github.com/docker/docker/daemon/logger" "github.com/docker/docker/daemon/logger"
"gotest.tools/assert" "gotest.tools/v3/assert"
"gotest.tools/env" "gotest.tools/v3/env"
) )
// Validate options // Validate options
@ -30,10 +30,10 @@ func TestValidateLogOpt(t *testing.T) {
splunkVerifyConnectionKey: "true", splunkVerifyConnectionKey: "true",
splunkGzipCompressionKey: "true", splunkGzipCompressionKey: "true",
splunkGzipCompressionLevelKey: "1", splunkGzipCompressionLevelKey: "1",
envKey: "a", envKey: "a",
envRegexKey: "^foo", envRegexKey: "^foo",
labelsKey: "b", labelsKey: "b",
tagKey: "c", tagKey: "c",
}) })
if err != nil { if err != nil {
t.Fatal(err) t.Fatal(err)
@ -251,9 +251,9 @@ func TestInlineFormatWithNonDefaultOptions(t *testing.T) {
splunkIndexKey: "myindex", splunkIndexKey: "myindex",
splunkFormatKey: splunkFormatInline, splunkFormatKey: splunkFormatInline,
splunkGzipCompressionKey: "true", splunkGzipCompressionKey: "true",
tagKey: "{{.ImageName}}/{{.Name}}", tagKey: "{{.ImageName}}/{{.Name}}",
labelsKey: "a", labelsKey: "a",
envRegexKey: "^foo", envRegexKey: "^foo",
}, },
ContainerID: "containeriid", ContainerID: "containeriid",
ContainerName: "/container_name", ContainerName: "/container_name",

View file

@ -4,8 +4,8 @@ import (
"bytes" "bytes"
"testing" "testing"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func TestNewParse(t *testing.T) { func TestNewParse(t *testing.T) {

View file

@ -13,8 +13,8 @@ import (
"github.com/docker/docker/pkg/containerfs" "github.com/docker/docker/pkg/containerfs"
"github.com/docker/docker/pkg/idtools" "github.com/docker/docker/pkg/idtools"
"github.com/docker/libnetwork" "github.com/docker/libnetwork"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func setupFakeDaemon(t *testing.T, c *container.Container) *Daemon { func setupFakeDaemon(t *testing.T, c *container.Container) *Daemon {

View file

@ -8,7 +8,7 @@ import (
"strings" "strings"
"testing" "testing"
"gotest.tools/fs" "gotest.tools/v3/fs"
containertypes "github.com/docker/docker/api/types/container" containertypes "github.com/docker/docker/api/types/container"
"github.com/docker/docker/container" "github.com/docker/docker/container"
@ -16,7 +16,7 @@ import (
swarmapi "github.com/docker/swarmkit/api" swarmapi "github.com/docker/swarmkit/api"
specs "github.com/opencontainers/runtime-spec/specs-go" specs "github.com/opencontainers/runtime-spec/specs-go"
"golang.org/x/sys/windows/registry" "golang.org/x/sys/windows/registry"
"gotest.tools/assert" "gotest.tools/v3/assert"
) )
func TestSetWindowsCredentialSpecInSpec(t *testing.T) { func TestSetWindowsCredentialSpecInSpec(t *testing.T) {

View file

@ -14,8 +14,8 @@ import (
"github.com/docker/docker/registry" "github.com/docker/docker/registry"
"github.com/docker/libnetwork" "github.com/docker/libnetwork"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
// muteLogs suppresses logs that are generated during the test // muteLogs suppresses logs that are generated during the test

View file

@ -8,7 +8,7 @@ import (
"github.com/docker/docker/container" "github.com/docker/docker/container"
"github.com/docker/docker/daemon/exec" "github.com/docker/docker/daemon/exec"
"gotest.tools/assert" "gotest.tools/v3/assert"
) )
// This test simply verify that when a wrong ID used, a specific error should be returned for exec resize. // This test simply verify that when a wrong ID used, a specific error should be returned for exec resize.

View file

@ -5,7 +5,7 @@ package daemon // import "github.com/docker/docker/daemon"
import ( import (
"testing" "testing"
"gotest.tools/assert" "gotest.tools/v3/assert"
) )
func TestContainerTopValidatePSArgs(t *testing.T) { func TestContainerTopValidatePSArgs(t *testing.T) {

View file

@ -6,9 +6,9 @@ import (
"path/filepath" "path/filepath"
"testing" "testing"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
"gotest.tools/fs" "gotest.tools/v3/fs"
) )
// LoadOrCreateTrustKey // LoadOrCreateTrustKey

View file

@ -6,7 +6,7 @@ import (
"testing" "testing"
"github.com/docker/docker/layer" "github.com/docker/docker/layer"
"gotest.tools/assert" "gotest.tools/v3/assert"
) )
func TestV1IDService(t *testing.T) { func TestV1IDService(t *testing.T) {

View file

@ -14,8 +14,8 @@ import (
"github.com/docker/distribution/reference" "github.com/docker/distribution/reference"
digest "github.com/opencontainers/go-digest" digest "github.com/opencontainers/go-digest"
specs "github.com/opencontainers/image-spec/specs-go/v1" specs "github.com/opencontainers/image-spec/specs-go/v1"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
// TestFixManifestLayers checks that fixManifestLayers removes a duplicate // TestFixManifestLayers checks that fixManifestLayers removes a duplicate

View file

@ -17,7 +17,7 @@ import (
"github.com/docker/docker/layer" "github.com/docker/docker/layer"
"github.com/docker/docker/pkg/progress" "github.com/docker/docker/pkg/progress"
digest "github.com/opencontainers/go-digest" digest "github.com/opencontainers/go-digest"
"gotest.tools/assert" "gotest.tools/v3/assert"
) )
const maxDownloadConcurrency = 3 const maxDownloadConcurrency = 3

View file

@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"testing" "testing"
"gotest.tools/assert" "gotest.tools/v3/assert"
) )
func TestFromStatusCode(t *testing.T) { func TestFromStatusCode(t *testing.T) {

View file

@ -11,8 +11,8 @@ import (
"testing" "testing"
digest "github.com/opencontainers/go-digest" digest "github.com/opencontainers/go-digest"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
func defaultFSStoreBackend(t *testing.T) (StoreBackend, func()) { func defaultFSStoreBackend(t *testing.T) (StoreBackend, func()) {

View file

@ -10,8 +10,8 @@ import (
"github.com/docker/docker/api/types/container" "github.com/docker/docker/api/types/container"
"github.com/docker/docker/layer" "github.com/docker/docker/layer"
"github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp"
"gotest.tools/assert" "gotest.tools/v3/assert"
is "gotest.tools/assert/cmp" is "gotest.tools/v3/assert/cmp"
) )
const sampleImageJSON = `{ const sampleImageJSON = `{

View file

@ -6,8 +6,8 @@ import (
"testing" "testing"
"github.com/docker/docker/layer" "github.com/docker/docker/layer"
"gotest.tools/assert" "gotest.tools/v3/assert"
"gotest.tools/assert/cmp" "gotest.tools/v3/assert/cmp"
) )
func TestRestore(t *testing.T) { func TestRestore(t *testing.T) {

View file

@ -9,7 +9,7 @@ import (
"sync" "sync"
"testing" "testing"
"gotest.tools/assert" "gotest.tools/v3/assert"
) )
func (s *DockerSuite) BenchmarkConcurrentContainerActions(c *testing.B) { func (s *DockerSuite) BenchmarkConcurrentContainerActions(c *testing.B) {

Some files were not shown because too many files have changed in this diff Show more