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

Include correct time unit in timeout error message

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.9
    • Fix Version/s: 2.5.0-beta-1
    • Component/s: None
    • Labels:
      None
    • Flags:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: