Re: Disable rdns for Kerberos tests - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: Disable rdns for Kerberos tests
Date
Msg-id ZC2dWOanJz8lBRQN@tamriel.snowman.net
Whole thread Raw
In response to Re: Disable rdns for Kerberos tests  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Disable rdns for Kerberos tests
List pgsql-hackers
Greetings,

* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> Stephen Frost <sfrost@snowman.net> writes:
> > Push, thanks again!
>
> Why'd you only change HEAD?  Isn't the test equally fragile in the
> back branches?

Following on from this after some additional cross-platform testing,
turns out there's other options we should be disabling in these tests to
avoid depending on DNS for the test.

Attached is another patch which, for me at least, seems to prevent the
tests from causing any DNS requests to happen.  This also means that the
tests run in a reasonable time even in cases where DNS is entirely
broken (the resolver set in /etc/resolv.conf doesn't respond).

Barring objections, my plan is to commit this change soon and to
back-patch both patches to supported branches.

Thanks!

Stephen

Attachment

pgsql-hackers by date:

Previous
From: "Drouvot, Bertrand"
Date:
Subject: Re: Minimal logical decoding on standbys
Next
From: Pavel Stehule
Date:
Subject: Re: proposal: psql: show current user in prompt