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

tools/sjavac/IdleShutdown.java fails with AssertionError: Error too big on windows

    XMLWordPrintable

    Details

    • Resolved In Build:
      b07
    • CPU:
      x86
    • OS:
      windows

      Backports

        Description

        On Windows (especially on slower virtualized machines) the langtools test tools/sjavac/IdleShutdown.java shows sporadic failures.
        The error we see is :
        IdleShutdown.java: java.lang.AssertionError: Error too big

        Reason is that the "timeout error" is larger than the allowed error of 300 ms :

                if (error > TIMEOUT_MS * .1)
                    throw new AssertionError("Error too big");

        We see sometimes errors in the range of 300-900 ms .
        For example :

        After 16166 ms: Timeout error: 609 ms

        Idea is to increase the allowed timeout error to make the test more stable.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mbaesken Matthias Baesken
                Reporter:
                mbaesken Matthias Baesken
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: