Basho\Tests\TestCase::getTestPort PHP Method

getTestPort() public static method

public static getTestPort ( )
    public static function getTestPort()
    {
        if (getenv('PB_INTERFACE')) {
            $port = getenv('RIAK_PORT') ? getenv('RIAK_PORT') : static::TEST_NODE_PORT;
        } else {
            $port = static::getTestHttpPort();
        }
        return $port;
    }