kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aw...@apache.org
Subject [2/2] kudu git commit: KUDU-2598 skip test_scanner_to_pandas_index appropriately
Date Tue, 09 Oct 2018 00:36:34 GMT
KUDU-2598 skip test_scanner_to_pandas_index appropriately

We should skip the test if either pandas is not available or if decimal
is not available.

Change-Id: Ie9e3f0c2f6884bd5388c9b918703e5b4b2e543d7
Reviewed-on: http://gerrit.cloudera.org:8080/11620
Reviewed-by: Hao Hao <hao.hao@cloudera.com>
Tested-by: Kudu Jenkins


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

Branch: refs/heads/master
Commit: 4de4347a3fd28a8bad3d481fdfa90acecd584520
Parents: 0d4740b
Author: Andrew Wong <awong@cloudera.com>
Authored: Mon Oct 8 16:30:38 2018 -0700
Committer: Andrew Wong <awong@cloudera.com>
Committed: Tue Oct 9 00:35:30 2018 +0000

----------------------------------------------------------------------
 python/kudu/tests/test_scanner.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/4de4347a/python/kudu/tests/test_scanner.py
----------------------------------------------------------------------
diff --git a/python/kudu/tests/test_scanner.py b/python/kudu/tests/test_scanner.py
index 3c7fe57..4bedf96 100644
--- a/python/kudu/tests/test_scanner.py
+++ b/python/kudu/tests/test_scanner.py
@@ -382,7 +382,7 @@ class TestScanner(TestScanBase):
         self.assertEqual(df.index.name, 'key')
         self.assertEqual(list(df.index), [1, 2])
 
-    @pytest.mark.skipif((not(kudu.CLIENT_SUPPORTS_PANDAS) and
+    @pytest.mark.skipif((not(kudu.CLIENT_SUPPORTS_PANDAS) or
                         (not(kudu.CLIENT_SUPPORTS_DECIMAL))),
                         reason="Pandas and Decimal support required to run this test.")
     def test_scanner_to_pandas_index(self):


Mime
View raw message