mirror of
https://github.com/status-im/consul.git
synced 2025-02-23 02:48:19 +00:00
add wait to TestAgent_RPCPing
This commit is contained in:
parent
5f2e709c3f
commit
c2a19e5090
@ -132,6 +132,7 @@ func TestAgent_RPCPing(t *testing.T) {
|
||||
t.Parallel()
|
||||
a := NewTestAgent(t, t.Name(), "")
|
||||
defer a.Shutdown()
|
||||
testrpc.WaitForTestAgent(t, a.RPC, "dc1")
|
||||
|
||||
var out struct{}
|
||||
if err := a.RPC("Status.Ping", struct{}{}, &out); err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user