remove prints

This commit is contained in:
Samir Patel 2021-05-29 22:24:11 -05:00 • committed by Samir Patel
parent 660c6d10ca
commit 5437a11216

View file

@ -512,7 +512,6 @@ func TestHandler_Endpoints(t *testing.T) {
t.Fatal(err)
}
w := httptest.NewRecorder()
fmt.Println("Make Request")
h.ServeHTTP(w, test.MustNewHTTPRequest("GET", "/ui/usage", nil))
if w.Code != gohttp.StatusOK {
fmt.Printf("%+v\n", w.Body)
@ -523,7 +522,6 @@ func TestHandler_Endpoints(t *testing.T) {
t.Fatalf("unmarshal")
}
fmt.Printf("body string %+v\n", w.Body.String())
for _, nodeUsage := range nodeUsages {
if nodeUsage.Disk.TotalUse < 1 {
t.Fatalf("expected some disk use, got %d", nodeUsage.Disk.TotalUse)