Skip to content

Commit

Permalink
Upgrade common base to fix #39 + fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
sapk committed Dec 2, 2018
1 parent e041f73 commit b6d4f57
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions gluster/integration/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
}
}
}

}

0 comments on commit b6d4f57

Please sign in to comment.