Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-24607

Add JUnit annotation for running tests only if ports are available

Log workAgile BoardRank to TopRank to BottomVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Target Version/s:

      Description

      Some unit tests tend to rely on some specific ports assuming that they are available. Moreover, in some cases it is necessary to create explicitly a socket bound to some specific port. 

      The goal of this Jira is to add a JUnit annotation that will run a test only if the requested ports are available (skip it otherwise).

       

        Attachments

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              zabetak Stamatis Zampetakis Assign to me
              Reporter:
              zabetak Stamatis Zampetakis

              Dates

              • Created:
                Updated:
                Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0h
              0h
              Logged:
              Time Spent - 1h 20m
              1h 20m

                Issue deployment