This is an automated email from the ASF dual-hosted git repository.

hyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite.git


The following commit(s) were added to refs/heads/master by this push:
     new 9a617d5  Following [CALCITE-2812] Disable parallel execution of 
parameterized test to avoid hanging
9a617d5 is described below

commit 9a617d5b346f7920162656d8786c45522f578281
Author: Haisheng Yuan <[email protected]>
AuthorDate: Tue Jun 4 11:56:39 2019 -0700

    Following [CALCITE-2812] Disable parallel execution of parameterized test 
to avoid hanging
    
    The patch of CALCITE-2812 introduced a parameterized test, but
    parameterized JUnit test hangs when running in parallel mode due to
    https://issues.apache.org/jira/browse/SUREFIRE-1430. We have to disable
    parallel execution until the issue is fixed.
---
 .../calcite/test/enumerable/EnumerableRepeatUnionHierarchyTest.java    | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/core/src/test/java/org/apache/calcite/test/enumerable/EnumerableRepeatUnionHierarchyTest.java
 
b/core/src/test/java/org/apache/calcite/test/enumerable/EnumerableRepeatUnionHierarchyTest.java
index 4274c2a..50733e1 100644
--- 
a/core/src/test/java/org/apache/calcite/test/enumerable/EnumerableRepeatUnionHierarchyTest.java
+++ 
b/core/src/test/java/org/apache/calcite/test/enumerable/EnumerableRepeatUnionHierarchyTest.java
@@ -25,6 +25,8 @@ import org.apache.calcite.test.CalciteAssert;
 import org.apache.calcite.test.HierarchySchema;
 import org.apache.calcite.tools.RelBuilder;
 
+import net.jcip.annotations.NotThreadSafe;
+
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.junit.runners.Parameterized;
@@ -39,6 +41,7 @@ import java.util.function.Function;
  * Add algebraic operators to allow expressing recursive queries</a>.
  */
 @RunWith(Parameterized.class)
+@NotThreadSafe
 public class EnumerableRepeatUnionHierarchyTest {
 
   // Tests for the following hierarchy:

Reply via email to