Merge pull request #1317 from simonpasquier/go-fmt

gofmt code
This commit is contained in:
Max Inden 2018-04-10 13:04:17 +02:00 committed by GitHub
commit a9b7026bc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,8 +15,8 @@ package cluster
import (
"context"
"time"
"testing"
"time"
"github.com/go-kit/kit/log"
"github.com/stretchr/testify/require"
@ -32,14 +32,14 @@ func TestJoin(t *testing.T) {
"",
[]string{},
true,
0 * time.Second,
0 * time.Second,
0*time.Second,
0*time.Second,
)
require.NoError(t, err)
require.False(t, p == nil)
require.False(t, p.Ready())
require.Equal(t, p.Status(), "settling")
go p.Settle(context.Background(), 0 * time.Second)
go p.Settle(context.Background(), 0*time.Second)
p.WaitReady()
require.Equal(t, p.Status(), "ready")
}