Re: Kerberos test suite - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Kerberos test suite
Date
Msg-id adae00ed-aae0-0b83-859e-632bf234cc04@2ndquadrant.com
Whole thread Raw
In response to Re: Kerberos test suite  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Kerberos test suite  (Robbie Harwood <rharwood@redhat.com>)
Re: Kerberos test suite  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-hackers
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.

> Perhaps the tests should be skipped on Windows or just produce an error?
> Like LDAP tests, libraries are supported on Windows but the hardcoded
> paths make things harder to handle there.

Hmm, why couldn't someone install MIT krb5 on Windows and give it a try?
 We don't need to block the platform outright.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Kerberos test suite
Next
From: Tom Lane
Date:
Subject: Re: [patch] BUG #15005: ANALYZE can make pg_class.reltuples inaccurate.