Skip to content

Commit 89cdea6

Browse files
committed
Reduce test runtime to 100ms
1 parent 7a61112 commit 89cdea6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

distributed/dashboard/tests/test_scheduler_bokeh.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -809,15 +809,15 @@ async def test_profile_server(c, s, a, b):
809809
client=True,
810810
config={
811811
"distributed.worker.profile.enabled": False,
812-
"distributed.worker.profile.interval": "10ms",
813-
"distributed.worker.profile.cycle": "50ms",
812+
"distributed.worker.profile.interval": "5ms",
813+
"distributed.worker.profile.cycle": "10ms",
814814
},
815815
)
816816
async def test_profile_server_disabled(c, s, a, b):
817817
ptp = ProfileServer(s)
818818
assert "disabled" in ptp.subtitle.text
819819
start = time()
820-
await asyncio.sleep(1)
820+
await asyncio.sleep(0.1)
821821
ptp.trigger_update()
822822
assert len(ptp.ts_source.data["time"]) == 0
823823

0 commit comments

Comments
 (0)