Skip to content

Commit 3fad76b

Browse files
authored
Fix test_cmd for upstream testing (#1212)
* unpin dask/distributed for development * Temporarily switch port for cmd test to non dashboard port
1 parent a837d7d commit 3fad76b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/integration/test_cmd.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,14 @@ def test_meta_commands(c, client, capsys):
106106
captured = capsys.readouterr()
107107
assert "Schema not_exists not available\n" == captured.out
108108

109+
# FIXME: Revert to 8787 once https://github.com/dask/distributed/issues/8071 is fixed
109110
with pytest.raises(
110111
OSError,
111-
match="Timed out .* to tcp://localhost:8787 after 5 s",
112+
match="Timed out .* to tcp://localhost:8788 after 5 s",
112113
):
113114
with dask_config.set({"distributed.comm.timeouts.connect": 5}):
114-
client = _meta_commands("\\dsc localhost:8787", context=c, client=client)
115-
assert client.scheduler.__dict__["addr"] == "localhost:8787"
115+
client = _meta_commands("\\dsc localhost:8788", context=c, client=client)
116+
assert client.scheduler.__dict__["addr"] == "localhost:8788"
116117

117118

118119
def test_connection_info(c, client, capsys):

0 commit comments

Comments
 (0)