arrow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject arrow git commit: ARROW-1259: [Plasma] Speed up plasma tests
Date Tue, 25 Jul 2017 01:41:12 GMT
Repository: arrow
Updated Branches:
  refs/heads/master ecdc86ba4 -> 886e2af77


ARROW-1259: [Plasma] Speed up plasma tests

Author: Philipp Moritz <pcmoritz@gmail.com>

Closes #882 from pcmoritz/plasma-test-speedup and squashes the following commits:

09ffbdfd [Philipp Moritz] speed up plasma tests


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

Branch: refs/heads/master
Commit: 886e2af77d29166b5f45829e0d76e33529e00f15
Parents: ecdc86b
Author: Philipp Moritz <pcmoritz@gmail.com>
Authored: Mon Jul 24 21:41:08 2017 -0400
Committer: Wes McKinney <wes.mckinney@twosigma.com>
Committed: Mon Jul 24 21:41:08 2017 -0400

----------------------------------------------------------------------
 python/pyarrow/tests/test_plasma.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/arrow/blob/886e2af7/python/pyarrow/tests/test_plasma.py
----------------------------------------------------------------------
diff --git a/python/pyarrow/tests/test_plasma.py b/python/pyarrow/tests/test_plasma.py
index ce684e3..ab64463 100644
--- a/python/pyarrow/tests/test_plasma.py
+++ b/python/pyarrow/tests/test_plasma.py
@@ -598,7 +598,7 @@ class TestPlasmaClient(object):
     def test_subscribe(self):
         # Subscribe to notifications from the Plasma Store.
         self.plasma_client.subscribe()
-        for i in [1, 10, 100, 1000, 10000, 100000]:
+        for i in [1, 10, 100, 1000, 10000]:
             object_ids = [random_object_id() for _ in range(i)]
             metadata_sizes = [np.random.randint(1000) for _ in range(i)]
             data_sizes = [np.random.randint(1000) for _ in range(i)]
@@ -620,7 +620,7 @@ class TestPlasmaClient(object):
         # plasma_client2 to make sure that all used objects will get evicted
         # properly.
         self.plasma_client2.subscribe()
-        for i in [1, 10, 100, 1000, 10000, 100000]:
+        for i in [1, 10, 100, 1000, 10000]:
             object_ids = [random_object_id() for _ in range(i)]
             # Add 1 to the sizes to make sure we have nonzero object sizes.
             metadata_sizes = [np.random.randint(1000) + 1 for _ in range(i)]


Mime
View raw message