Repository: calcite
Updated Branches:
  refs/heads/master fa7b48267 -> 3df638c9d


[CALCITE-2523] Guard PartiallyOrderedSetTest#testPosetBitsLarge with 
CalciteAssert.ENABLE_SLOW


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

Branch: refs/heads/master
Commit: 3df638c9d34cd83eeb381dd288be786e97ec4c39
Parents: fa7b482
Author: Vladimir Sitnikov <sitnikov.vladi...@gmail.com>
Authored: Wed Sep 5 22:51:39 2018 +0300
Committer: Vladimir Sitnikov <sitnikov.vladi...@gmail.com>
Committed: Wed Sep 5 22:51:39 2018 +0300

----------------------------------------------------------------------
 .../java/org/apache/calcite/util/PartiallyOrderedSetTest.java     | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/calcite/blob/3df638c9/core/src/test/java/org/apache/calcite/util/PartiallyOrderedSetTest.java
----------------------------------------------------------------------
diff --git 
a/core/src/test/java/org/apache/calcite/util/PartiallyOrderedSetTest.java 
b/core/src/test/java/org/apache/calcite/util/PartiallyOrderedSetTest.java
index 586562b..2a9e9dc 100644
--- a/core/src/test/java/org/apache/calcite/util/PartiallyOrderedSetTest.java
+++ b/core/src/test/java/org/apache/calcite/util/PartiallyOrderedSetTest.java
@@ -211,6 +211,9 @@ public class PartiallyOrderedSetTest {
   }
 
   @Test public void testPosetBitsLarge() {
+    Assume.assumeTrue(
+        "it takes 80 seconds, and the computations are exactly the same every 
time",
+        CalciteAssert.ENABLE_SLOW);
     final PartiallyOrderedSet<Integer> poset =
         new PartiallyOrderedSet<>(PartiallyOrderedSetTest::isBitSuperset);
     checkPosetBitsLarge(poset, 30000, 2921, 164782);

Reply via email to