Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
add error check in test for minmaxrow call
Browse files Browse the repository at this point in the history
  • Loading branch information
shaqque committed Jul 9, 2019
1 parent 27cd0ec commit 94c02e4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions client_it_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -321,9 +321,10 @@ func TestMinMaxRow(t *testing.T) {
field.Set(20, 5),
field.Set(30, 5),
)
client.Query(qry)
// XXX: The following is required to make this test pass. See: https://github.com/pilosa/pilosa/issues/625
client.HttpRequest("POST", "/recalculate-caches", nil, nil)
_, err = client.Query(qry)
if err != nil {
t.Fatalf("error setting bits: %v", err)
}

response, err := client.Query(field.MinRow())
if err != nil {
Expand Down

0 comments on commit 94c02e4

Please sign in to comment.