Re: Kerberos test suite - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Kerberos test suite
Date
Msg-id 20180306162940.botlg2sv5k2mhmdg@alvherre.pgsql
Whole thread Raw
In response to Re: Kerberos test suite  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
Peter Eisentraut wrote:
> On 3/5/18 21:08, Michael Paquier wrote:
> > +my $kdc_port = int(rand() * 16384) + 49152;
> > That may not be worth worrying as that's an ephemeral port range but it
> > can make the test a bit unstable...
> 
> This is what we've been using in the other tests as well.  It's clearly
> not optimal, but making it more robust in a platform-agnostic way seems
> tricky.

We have port-testing code in PostgresNode.pm::get_new_node; maybe that
could be taking out of there into TestLib.pm?

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Arthur Zakirov
Date:
Subject: Re: Prefix operator for text and spgist support
Next
From: Fabien COELHO
Date:
Subject: Re: 2018-03 Commitfest Summary (Andres #1)