mirror of
https://github.com/wassname/ray.git
synced 2026-09-30 11:40:50 +08:00
reducing the size of objects created for the global scheduler test (#674)
This commit is contained in:
1 parent
8798f4e690
commit
8317025987
1 file changed
+2
-2
@@ -243,8 +243,8 @@ class TestGlobalScheduler(unittest.TestCase):
|
||||
num_tasks = 1000
|
||||
for _ in range(num_tasks):
|
||||
# Create a new object for each task.
|
||||
data_size = np.random.randint(1 << 20)
|
||||
metadata_size = np.random.randint(1 << 10)
|
||||
data_size = np.random.randint(1 << 12)
|
||||
metadata_size = np.random.randint(1 << 9)
|
||||
plasma_client = self.plasma_clients[0]
|
||||
object_dep, memory_buffer, metadata = create_object(plasma_client,
|
||||
data_size,
|
||||
|
||||
Reference in new issue
Block a user