Drop unnecessary sleep

This commit is contained in:
William Tisäter 2014-05-07 23:17:00 +02:00
parent e4598284fd
commit fcd5da3bf7
1 changed files with 0 additions and 3 deletions

View File

@ -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) {