mirror of https://github.com/status-im/consul.git
add wait to TestOperator_AutopilotCASConfiguration
This commit is contained in:
parent
dc200daf21
commit
d10b5a396b
|
@ -346,6 +346,7 @@ func TestOperator_AutopilotCASConfiguration(t *testing.T) {
|
|||
t.Parallel()
|
||||
a := NewTestAgent(t, t.Name(), "")
|
||||
defer a.Shutdown()
|
||||
testrpc.WaitForTestAgent(t, a.RPC, "dc1")
|
||||
|
||||
body := bytes.NewBuffer([]byte(`{"CleanupDeadServers": false}`))
|
||||
req, _ := http.NewRequest("PUT", "/v1/operator/autopilot/configuration", body)
|
||||
|
|
Loading…
Reference in New Issue