cluster: gofmt code

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
Simon Pasquier 2018-04-10 10:30:12 +02:00
parent b1625a08a0
commit d0b664b618
1 changed files with 4 additions and 4 deletions

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")
}