Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions distributed/asv.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"partd": [],
"pandas": [],
"distributed": [],
"pytest": [],
"s3fs": [],
"python-blosc": [],
"lz4": []
Expand Down
9 changes: 8 additions & 1 deletion distributed/benchmarks/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
import random

from dask import compute, delayed
from distributed import Client, wait
from distributed import Client, wait, Scheduler
from distributed.utils_test import gen_test


class SchedulerComputeDepsInMemory(object):
Expand Down Expand Up @@ -35,3 +36,9 @@ def time_compute_deps_already_in_memory(self):
xref https://github.com/dask/distributed/pull/3293
"""
compute(*self.x, scheduler=self.client)


@gen_test()
async def test_start_scheduler():
async with Scheduler(port=0):
pass