1
0
Fork 0

Mark test helpers

master
Philip O'Toole 8 months ago
parent 64d03d1eac
commit 2f7ee20de6

@ -64,6 +64,7 @@ func Test_MultiNodeSimple(t *testing.T) {
// Now, do a NONE consistency query on each node, to actually confirm the data
// has been replicated.
testFn1 := func(t *testing.T, s *Store) {
t.Helper()
qr := queryRequestFromString("SELECT * FROM foo", false, false)
qr.Level = proto.QueryRequest_QUERY_REQUEST_LEVEL_NONE
r, err := s.Query(qr)
@ -90,6 +91,7 @@ func Test_MultiNodeSimple(t *testing.T) {
// Now, do a NONE consistency query on each node, to actually confirm the data
// has been replicated.
testFn2 := func(t *testing.T, s *Store) {
t.Helper()
qr := queryRequestFromString("SELECT COUNT(*) FROM foo", false, false)
qr.Level = proto.QueryRequest_QUERY_REQUEST_LEVEL_NONE
r, err := s.Query(qr)

Loading…
Cancel
Save