Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7122169

TcpTimeout fail for various reasons

XMLWordPrintable

    • b21
    • generic
    • generic
    • Verified

      sun/security/krb5/auto/TcpTimeout.java

      The test fails intermittently on various systems for different reasons:

      1. On all systems, it might fail if a port (random calculated) is already opened by another process.

      2. In some Windows virtual machines, the wall clock might go slower than elapsed time. i.e. you can Thread.sleep() for 10 seconds but the change in System.nanoTime() results shows a smaller value.

            weijun Weijun Wang
            weijun Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: