From 07020e2f7e272c46d34a64375f5162ab909d3d5b Mon Sep 17 00:00:00 2001 From: Antoine GIRARD Date: Mon, 26 Mar 2018 22:16:08 +0200 Subject: [PATCH] Upgrade common base to fix #39 + fmt --- Gopkg.lock | 8 ++++---- gluster/integration/integration_test.go | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Gopkg.lock b/Gopkg.lock index 1ceddc5..fea588f 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -82,7 +82,7 @@ "basic", "driver" ] - revision = "e005667f3fd8fb8d38b9e2d73fc68f3166cc3db6" + revision = "7a90a1c14fd67bd41bc3df5d9feb2c5374639f5e" [[projects]] name = "github.com/sirupsen/logrus" @@ -148,7 +148,7 @@ "unix", "windows" ] - revision = "91ee8cde435411ca3f1cd365e8f20131aed4d0a1" + revision = "13d03a9a82fba647c21a0ef8fba44a795d0f0835" [[projects]] name = "golang.org/x/text" @@ -166,8 +166,8 @@ [[projects]] name = "gopkg.in/yaml.v2" packages = ["."] - revision = "7f97868eec74b32b0982dd158a51a446d1da7eb5" - version = "v2.1.1" + revision = "86f5ed62f8a0ee96bd888d2efdfd6d4fb100a4eb" + version = "v2.2.0" [solve-meta] analyzer-name = "dep" diff --git a/gluster/integration/integration_test.go b/gluster/integration/integration_test.go index 9f6d1dd..368d9a5 100644 --- a/gluster/integration/integration_test.go +++ b/gluster/integration/integration_test.go @@ -208,12 +208,12 @@ func TestIntegration(t *testing.T) { t.Errorf("Content inside gluster distributed volume in not the same : %s != %s", outDistributedContainer, out) } //TODO check persistence - + //TODO sub tests for _, vol := range []string{"distributed-double-server", "replica-double-server", "distributed", "replica"} { out, err = cmd("docker", "volume", "rm", vol) if err != nil { - t.Errorf("Failed to remove mounted volume %s : %v", vol, err) + t.Errorf("Failed to remove mounted volume %s : %v", vol, err) } if !strings.Contains(out, vol) { //TODO should be only "vol\n" t.Errorf("Failed to remove mounted volume %s", vol) @@ -222,6 +222,6 @@ func TestIntegration(t *testing.T) { if strings.Contains(out, vol) { //TODO should be "vol\n" to limit confussion ith other volume existing or generate name t.Errorf("Failed to remove volume %s from volume list", vol) } - } + } }