Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-8114

Include correct time unit in timeout error message

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.9
    • 2.5.0-beta-1
    • None
    • None
    • Patch

    Description

      When a class is annotated with @TimedInterrupt(value = 5L, unit = TimeUnit.SECONDS), and the execution is aborted, the error message reads "Execution timed out after 5 units". It should read "Execution timed out after 5 seconds".

      Attachments

        Issue Links

          Activity

            People

              paulk Paul King
              jkemnade Jochen Kemnade
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: