OsAdapterTest breaks when jhyde@apache has made more commits than 
julianhyde@gmail


Project: http://git-wip-us.apache.org/repos/asf/calcite/repo
Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/714f6b74
Tree: http://git-wip-us.apache.org/repos/asf/calcite/tree/714f6b74
Diff: http://git-wip-us.apache.org/repos/asf/calcite/diff/714f6b74

Branch: refs/heads/master
Commit: 714f6b74054de26896863fe12565f2e32bcbc863
Parents: d00733b
Author: Julian Hyde <[email protected]>
Authored: Tue May 1 18:37:12 2018 -0700
Committer: Julian Hyde <[email protected]>
Committed: Tue May 1 18:37:12 2018 -0700

----------------------------------------------------------------------
 .../test/java/org/apache/calcite/adapter/os/OsAdapterTest.java  | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/calcite/blob/714f6b74/plus/src/test/java/org/apache/calcite/adapter/os/OsAdapterTest.java
----------------------------------------------------------------------
diff --git 
a/plus/src/test/java/org/apache/calcite/adapter/os/OsAdapterTest.java 
b/plus/src/test/java/org/apache/calcite/adapter/os/OsAdapterTest.java
index c82d470..4793f83 100644
--- a/plus/src/test/java/org/apache/calcite/adapter/os/OsAdapterTest.java
+++ b/plus/src/test/java/org/apache/calcite/adapter/os/OsAdapterTest.java
@@ -200,8 +200,9 @@ public class OsAdapterTest {
   @Test public void testGitCommitsTop() {
     Assume.assumeTrue("no git", hasGit());
     final String q = "select author from git_commits\n"
-        + "group by 1 order by count(*) desc limit 1";
-    sql(q).returnsUnordered("author=Julian Hyde <[email protected]>");
+        + "group by 1 order by count(*) desc limit 2";
+    sql(q).returnsUnordered("author=Julian Hyde <[email protected]>",
+        "author=Julian Hyde <[email protected]>");
   }
 
   @Test public void testVmstat() {

Reply via email to