Re: Kerberos test suite

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Kerberos test suite
Date: 2018-03-06 16:00:48
Message-ID: adae00ed-aae0-0b83-859e-632bf234cc04@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2018-03-06 16:16:04 Re: [patch] BUG #15005: ANALYZE can make pg_class.reltuples inaccurate.
Previous Message Peter Eisentraut 2018-03-06 15:58:54 Re: Kerberos test suite