code review request: 6950929: Failures on Solaris sparc 64bit sun/security/krb5/auto/BadKdc4.java (and linux?)
Weijun Wang
weijun.wang at oracle.com
Mon Apr 25 08:58:18 UTC 2011
Hi Valerie
Code change for the BadKdc.java test:
http://cr.openjdk.java.net/~weijun/6950929/webrev.00/
As described in the lines 44-69 of the new file, the test might fail due
to 2 reasons:
1. KDC port opened by some other process (1%)
2. KDC cannot receive the first UDP packet (99%)
The fix includes:
1. Catch possible exceptions from cause #1 and ignore them
2. Send a packet to the KDC to warm it up. I really don't know why this
is useful, but after this change, I've seen no more such failure.
3. More debug output if fail again
Thanks
Max
More information about the security-dev
mailing list