|
|
@ -346,6 +346,7 @@ func TestOperator_AutopilotCASConfiguration(t *testing.T) { |
|
|
|
t.Parallel() |
|
|
|
t.Parallel() |
|
|
|
a := NewTestAgent(t, t.Name(), "") |
|
|
|
a := NewTestAgent(t, t.Name(), "") |
|
|
|
defer a.Shutdown() |
|
|
|
defer a.Shutdown() |
|
|
|
|
|
|
|
testrpc.WaitForTestAgent(t, a.RPC, "dc1") |
|
|
|
|
|
|
|
|
|
|
|
body := bytes.NewBuffer([]byte(`{"CleanupDeadServers": false}`)) |
|
|
|
body := bytes.NewBuffer([]byte(`{"CleanupDeadServers": false}`)) |
|
|
|
req, _ := http.NewRequest("PUT", "/v1/operator/autopilot/configuration", body) |
|
|
|
req, _ := http.NewRequest("PUT", "/v1/operator/autopilot/configuration", body) |
|
|
|