Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7901065

Add a property for jtreg timeout for one to be able to get it inside a test

    Details

    • Type: Enhancement
    • Status: New
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: jt4.1
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      Add a property for jtreg timeout (NOT timeout FACTOR, which already exists).
      This property should be available via System.getProperty("test.timeout") inside the test's code.

      This property should also account for jtreg script, i.e. "@run main/timout=300 MyTest".
      If timeout is set in the test @run tag, this property should return this value, and if timeout is not set explicity, the property should return the default value.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kshefov Konstantin Shefov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: