"src/git@developer.sourcefind.cn:tianlh/lightgbm-dcu.git" did not exist on "362f9ac47ce819b5b1908e7c8ea2b241104ffebe"
  • jmoralez's avatar
    [dask] use random ports in network setup (#3823) · 0e576575
    jmoralez authored
    * use socket.bind with port 0 and client.run to find random open ports
    
    * include test for found ports
    
    * find random open ports as default
    
    * parametrize local_listen_port. type hint to _find_random_open_port. fid open ports only on workers with data.
    
    * make indentation consistent and pass list of workers to client.run
    
    * remove socket import
    
    * change random port implementation
    
    * fix test
    0e576575
test_dask.py 44.9 KB