Skip to content

Commit

Permalink
Assert results variable instead of dataFrame. (elastic#1311)
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnvg committed Jul 2, 2019
1 parent ae77e1c commit 2b9db87
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -95,7 +95,8 @@ public void testBasicRead() throws Exception {
assertEquals(5, dataFrame.take(5).length);
DataFrame results = sqc
.sql("SELECT name FROM datfile WHERE id >=1 AND id <=10");
assertEquals(10, dataFrame.take(10).length);
assertEquals(10, results.take(10).length);
assertEquals(10L, results.count());
}

@Test
Expand Down

0 comments on commit 2b9db87

Please sign in to comment.