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