IMPALA-6476: Skip krpc mem test that uses stress options

Some of the tests added in IMPALA-6193 rely on flags that are only
compiled for debug binaries. This change marks those tests as debug-only
so that they do not break the release tests.

Change-Id: I89ae25ee8c1aca3833c2d98e902ddaad2dd01aad
Reviewed-on: http://gerrit.cloudera.org:8080/9207
Reviewed-by: Alex Behm <alex.b...@cloudera.com>
Tested-by: Impala Public Jenkins


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

Branch: refs/heads/2.x
Commit: 19ec5757913cf288e3ba2989320f98faa59c4f94
Parents: b59a784
Author: Lars Volker <l...@cloudera.com>
Authored: Fri Feb 2 17:24:00 2018 -0800
Committer: Impala Public Jenkins <impala-public-jenk...@gerrit.cloudera.org>
Committed: Thu Feb 8 07:01:52 2018 +0000

----------------------------------------------------------------------
 tests/custom_cluster/test_krpc_mem_usage.py | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/impala/blob/19ec5757/tests/custom_cluster/test_krpc_mem_usage.py
----------------------------------------------------------------------
diff --git a/tests/custom_cluster/test_krpc_mem_usage.py 
b/tests/custom_cluster/test_krpc_mem_usage.py
index ed7b056..07efe2f 100644
--- a/tests/custom_cluster/test_krpc_mem_usage.py
+++ b/tests/custom_cluster/test_krpc_mem_usage.py
@@ -71,6 +71,7 @@ class TestKrpcMemUsage(CustomClusterTestSuite):
     # show up in time.
     self.execute_query_verify_mem_usage(self.TEST_QUERY, 
[DATA_STREAM_SVC_METRIC])
 
+  @SkipIfBuildType.not_dev_build
   @pytest.mark.execute_serially
   @CustomClusterTestSuite.with_args("--use_krpc 
--stress_datastream_recvr_delay_ms=1000")
   def test_krpc_deferred_memory_usage(self, vector):
@@ -79,6 +80,7 @@ class TestKrpcMemUsage(CustomClusterTestSuite):
     """
     self.execute_query_verify_mem_usage(self.TEST_QUERY, ALL_METRICS)
 
+  @SkipIfBuildType.not_dev_build
   @pytest.mark.execute_serially
   @CustomClusterTestSuite.with_args("--use_krpc 
--stress_datastream_recvr_delay_ms=1000")
   def test_krpc_deferred_memory_cancellation(self, vector):

Reply via email to