/// return a new port assignment suitable for this test's use
return a new port assignment suitable for this test's use
return a new port assignment suitable for this test ' s use
fn new() -> Self {
        let http_port = NEXT_PORT.fetch_add(1, SeqCst);
        let grpc_port = NEXT_PORT.fetch_add(1, SeqCst);
        let http_bind_addr = format!("127.0.0.1:{}", http_port);
        let grpc_bind_addr = format!("127.0.0.1:{}", grpc_port);
        let http_base = format!("http://{}", http_bind_addr);
        let iox_api_v1_base = format!("http://{}/iox/api/v1", http_bind_addr);
        let grpc_base = format!("http://{}", grpc_bind_addr);
        Self {
            http_port,
            grpc_port,
            http_bind_addr,
            grpc_bind_addr,
            http_base,
            iox_api_v1_base,
            grpc_base,
        }
    }
fn new ( ) -> Self { let http_port = NEXT_PORT . fetch_add ( 1 , SeqCst ) ; let grpc_port = NEXT_PORT . fetch_add ( 1 , SeqCst ) ; let http_bind_addr = format ! ( " " http_port ) ; let grpc_bind_addr = format ! ( " " grpc_port ) ; let http_base = format ! ( " " http_bind_addr ) ; let iox_api_v1_base = format ! ( " " http_bind_addr ) ; let grpc_base = format ! ( " " grpc_bind_addr ) ; Self { http_port , grpc_port , http_bind_addr , grpc_bind_addr , http_base , iox_api_v1_base , grpc_base , } }
return a new port assignment suitable for this test's use
return a new port assignment suitable for this test ' s use