Drop unnecessary sleep

pull/136/head
William Tisäter 11 years ago
parent e4598284fd
commit fcd5da3bf7

@ -99,9 +99,6 @@ func TestContentTypeIsJSON(t *testing.T) {
defer srv.Shutdown()
defer srv.agent.Shutdown()
// Wait for a leader
time.Sleep(100 * time.Millisecond)
resp := httptest.NewRecorder()
handler := func(resp http.ResponseWriter, req *http.Request) (interface{}, error) {

Loading…
Cancel
Save