mirror of
https://github.com/status-im/consul.git
synced 2025-02-02 08:56:43 +00:00
Fixes error message in test.
This commit is contained in:
parent
79aec1b34b
commit
40e1553cfc
@ -586,7 +586,7 @@ func TestServer_Expect(t *testing.T) {
|
||||
var p4 int
|
||||
testutil.WaitForResult(func() (bool, error) {
|
||||
p4, _ = s4.numPeers()
|
||||
return p4 == 4, errors.New(fmt.Sprintf("%d", p3))
|
||||
return p4 == 4, errors.New(fmt.Sprintf("%d", p4))
|
||||
}, func(err error) {
|
||||
t.Fatalf("should have 4 peers: %v", err)
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user