Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1088

When test fail during initialization the test execution time can result in a large negative number.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.16
    • 2.18
    • Maven Surefire Plugin
    • None

    Description

      For example it will print out this:

      Time elapsed: -1,317,678.69 sec <<< ERROR!

      This happened in a call to @BeforeClass method and was specifically when a class was not found when loading in a spring context. The later is not that important because we have seen it happen in other cases.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            agudian Andreas Gudian
            ddcruver Daniel Cruver
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment