1
0
Fork 0

Just check for errors

master
Philip O'Toole 8 months ago committed by GitHub
parent 23ce0583a7
commit 388b1f8f11
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1146,13 +1146,10 @@ func Test_SingleNodeExecuteQueryFreshness(t *testing.T) {
rr := executeQueryRequestFromString("SELECT * FROM foo", proto.QueryRequest_QUERY_REQUEST_LEVEL_NONE,
false, false)
rr.Freshness = mustParseDuration("1ns").Nanoseconds()
er, err = s0.Request(rr)
_, err = s0.Request(rr)
if err != nil {
t.Fatalf("failed to query leader node: %s", err.Error())
}
if exp, got := `[[1,"fiona"]]`, asJSON(r[0].Values); exp != got {
t.Fatalf("unexpected results for query\nexp: %s\ngot: %s", exp, got)
}
}
// Test_SingleNodeBackup tests that a Store correctly backs up its data

Loading…
Cancel
Save