Skip to content

Commit

Permalink
sql: move query result checking in testutils/sqlutils
Browse files Browse the repository at this point in the history
Moving code to verify the result of a Query to sqlutils, where it can be used by
other tests. In the descriptor mutation test we now check the number of keys
against known values rather than relying on checkQueryResponse to count the
number of NULLs in the expected result (which we know).

Embedding a SQLRunner in mutationTest which allows us to use the new function
directly, as well as the other Fatal-on-error wrappers.
  • Loading branch information
RaduBerinde committed Nov 12, 2016
1 parent 9cc0bb8 commit 97415e1
Show file tree
Hide file tree
Showing 3 changed files with 146 additions and 179 deletions.
Loading

0 comments on commit 97415e1

Please sign in to comment.