diff --git a/server/http_handler_test.go b/server/http_handler_test.go index d10e60903c..4f43205cee 100644 --- a/server/http_handler_test.go +++ b/server/http_handler_test.go @@ -820,3 +820,12 @@ func (ts *HTTPHandlerTestSuite) TestHotRegionInfo(c *C) { defer resp.Body.Close() c.Assert(resp.StatusCode, Equals, http.StatusBadRequest) } + +func (ts *HTTPHandlerTestSuite) TestDebugZip(c *C) { + ts.startServer(c) + defer ts.stopServer(c) + resp, err := http.Get("http://127.0.0.1:10090/debug/zip") + c.Assert(err, IsNil) + defer resp.Body.Close() + c.Assert(resp.StatusCode, Equals, http.StatusOK) +}