Merge branch 'feat/fix-testclusterspeerrejoin' into fix/fast-repo-stat

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
This commit is contained in:
Hector Sanjuan 2018-08-17 23:04:26 +02:00
commit 5a0d4ed9a2

View File

@ -535,7 +535,7 @@ func TestClustersPeerRejoin(t *testing.T) {
// add all clusters
for i := 1; i < len(clusters); i++ {
_, err := clusters[0].PeerAdd(clusters[i].id)
err := clusters[i].Join(clusterAddr(clusters[0]))
if err != nil {
t.Fatal(err)
}