mirror of
https://github.com/wassname/ray.git
synced 2026-06-29 08:31:42 +08:00
reducing the size of objects created for the global scheduler test (#674)
This commit is contained in:
committed by
Robert Nishihara
parent
8798f4e690
commit
8317025987
@@ -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