IMPALA-7149: Disable some tests in the EC build

We temporarily disable the resource limits tests in the EC build to
make it pass. We also disable the tests marked with
"tuned_for_minicluster" in the EC build.

Cherry-picks: not for 2.x.

Change-Id: I0975b1a28b318625f853b612bdfea3a8adcd776e
Reviewed-on: http://gerrit.cloudera.org:8080/10804
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


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

Branch: refs/heads/master
Commit: e6abf8e86058349531caabe0a800432b1703e8f1
Parents: 888dc82
Author: Taras Bobrovytsky <[email protected]>
Authored: Fri Jun 22 17:06:10 2018 -0700
Committer: Impala Public Jenkins <[email protected]>
Committed: Wed Jun 27 00:14:54 2018 +0000

----------------------------------------------------------------------
 tests/common/skip.py                     | 4 ++--
 tests/query_test/test_resource_limits.py | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/impala/blob/e6abf8e8/tests/common/skip.py
----------------------------------------------------------------------
diff --git a/tests/common/skip.py b/tests/common/skip.py
index 53fbe85..ca49327 100644
--- a/tests/common/skip.py
+++ b/tests/common/skip.py
@@ -138,8 +138,8 @@ class SkipIfNotHdfsMinicluster:
   plans = pytest.mark.skipif(not IS_HDFS or 
pytest.config.option.testing_remote_cluster,
       reason="Test assumes plans from local HDFS mini-cluster")
   tuned_for_minicluster = pytest.mark.skipif(
-      not IS_HDFS or pytest.config.option.testing_remote_cluster,
-      reason="Test is tuned for 3-node HDFS minicluster")
+      not IS_HDFS or IS_EC or pytest.config.option.testing_remote_cluster,
+      reason="Test is tuned for 3-node HDFS minicluster with no EC")
 
 class SkipIfBuildType:
   not_dev_build = pytest.mark.skipif(not IMPALAD_BUILD.is_dev(),

http://git-wip-us.apache.org/repos/asf/impala/blob/e6abf8e8/tests/query_test/test_resource_limits.py
----------------------------------------------------------------------
diff --git a/tests/query_test/test_resource_limits.py 
b/tests/query_test/test_resource_limits.py
index d798b48..58e2ce6 100644
--- a/tests/query_test/test_resource_limits.py
+++ b/tests/query_test/test_resource_limits.py
@@ -16,7 +16,7 @@
 # under the License.
 
 from tests.common.impala_test_suite import ImpalaTestSuite
-from tests.common.skip import SkipIfLocal
+from tests.common.skip import SkipIfEC, SkipIfLocal
 from tests.common.test_dimensions import create_parquet_dimension
 
 class TestResourceLimits(ImpalaTestSuite):
@@ -33,8 +33,8 @@ class TestResourceLimits(ImpalaTestSuite):
         create_parquet_dimension(cls.get_workload()))
 
   @SkipIfLocal.multiple_impalad
+  @SkipIfEC.fix_later
   def test_thread_limits(self, vector):
     # Remove option from vector to allow test file to override it per query.
     del vector.get_value('exec_option')['num_nodes']
     self.run_test_case('QueryTest/thread-limits', vector)
-

Reply via email to