def METHOD_NAME(self):
    with self.assertRaises(DistNetworkError):
        # use any available port (port 0) since timeout is expected
        create_c10d_store(
            is_server=False,
            server_addr=socket.gethostname(),
            server_port=0,
            world_size=2,
            timeout=1,
        )