mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-10 23:11:01 +00:00
comment out debug statements
This commit is contained in:
parent
7799d7c680
commit
f946528053
1 changed files with 10 additions and 10 deletions
|
|
@ -515,16 +515,16 @@ func TestHandler_Endpoints(t *testing.T) {
|
|||
t.Fatalf("unmarshal")
|
||||
}
|
||||
|
||||
w2 := httptest.NewRecorder()
|
||||
h.ServeHTTP(w2, test.MustNewHTTPRequest("GET", "/schema", nil))
|
||||
if w2.Code != gohttp.StatusOK {
|
||||
t.Fatalf("unexpected status code: %d", w2.Code)
|
||||
}
|
||||
schemaBody := w2.Body.String()
|
||||
t.Fatalf("Schema: %+v\n", schemaBody)
|
||||
if schemaBody != "{\"indexes\":[]}\n" {
|
||||
t.Fatalf("unexpected empty schema: '%v'", schemaBody)
|
||||
}
|
||||
// w2 := httptest.NewRecorder()
|
||||
// h.ServeHTTP(w2, test.MustNewHTTPRequest("GET", "/schema", nil))
|
||||
// if w2.Code != gohttp.StatusOK {
|
||||
// t.Fatalf("unexpected status code: %d", w2.Code)
|
||||
// }
|
||||
// schemaBody := w2.Body.String()
|
||||
// t.Fatalf("Schema: %+v\n", schemaBody)
|
||||
// if schemaBody != "{\"indexes\":[]}\n" {
|
||||
// t.Fatalf("unexpected empty schema: '%v'", schemaBody)
|
||||
// }
|
||||
|
||||
for _, nodeUsage := range nodeUsages {
|
||||
numIndexes := len(nodeUsage.Disk.IndexUsage)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue