Repository: incubator-impala
Updated Branches:
  refs/heads/master 0983da92b -> 4d03ed40c


IMPALA-3954: Add unique_database to scanner test

Without a unique_database hdfs-text-scan-with-header.test will create a
table "functional.mixed" and parallel executions of the test will
interfere with each other. This change adds a unique_database to the
test call to prevent this.

Change-Id: Ic48a4bac3df6a40cb5cb10c6f1c42583952c6c86
Reviewed-on: http://gerrit.cloudera.org:8080/4045
Reviewed-by: Michael Brown <[email protected]>
Reviewed-by: Tim Armstrong <[email protected]>
Tested-by: Internal Jenkins


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

Branch: refs/heads/master
Commit: 4d03ed40c6e9cce30f09ab111c4077c7c6329233
Parents: 0983da9
Author: Lars Volker <[email protected]>
Authored: Wed Aug 17 22:00:43 2016 +0200
Committer: Internal Jenkins <[email protected]>
Committed: Thu Aug 18 20:13:17 2016 +0000

----------------------------------------------------------------------
 tests/query_test/test_scanners.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/4d03ed40/tests/query_test/test_scanners.py
----------------------------------------------------------------------
diff --git a/tests/query_test/test_scanners.py 
b/tests/query_test/test_scanners.py
index 4cfbcb0..e267f93 100644
--- a/tests/query_test/test_scanners.py
+++ b/tests/query_test/test_scanners.py
@@ -543,8 +543,8 @@ class TestTextScanRangeLengths(ImpalaTestSuite):
     cls.TestMatrix.add_constraint(
       lambda v: v.get_value('table_format').file_format == 'text')
 
-  def test_text_scanner_with_header(self, vector):
-    self.run_test_case('QueryTest/hdfs-text-scan-with-header', vector)
+  def test_text_scanner_with_header(self, vector, unique_database):
+    self.run_test_case('QueryTest/hdfs-text-scan-with-header', vector, 
unique_database)
 
 
 # Missing Coverage: No coverage for truncated files errors or scans.

Reply via email to