Browse Source

integration: get tests to compile again

Signed-off-by: Tibor Vass <tibor@docker.com>
(cherry picked from commit a2812895154da7a32a1b24a0535b5cba4088eb89)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Tibor Vass 6 years ago
parent
commit
51f390dd79
1 changed files with 2 additions and 2 deletions
  1. 2 2
      integration/service/network_test.go

+ 2 - 2
integration/service/network_test.go

@@ -86,12 +86,12 @@ func TestDockerNetworkReConnect(t *testing.T) {
 	ctx := context.Background()
 
 	name := t.Name() + "dummyNet"
-	net.CreateNoError(t, ctx, client, name,
+	net.CreateNoError(ctx, t, client, name,
 		net.WithDriver("overlay"),
 		net.WithAttachable(),
 	)
 
-	c1 := container.Create(t, ctx, client, func(c *container.TestContainerConfig) {
+	c1 := container.Create(ctx, t, client, func(c *container.TestContainerConfig) {
 		c.NetworkingConfig = &network.NetworkingConfig{
 			EndpointsConfig: map[string]*network.EndpointSettings{
 				name: {},