Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8369087

Increase the maxOutputSize configured for jtreg tests

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • infrastructure
    • None

      jtreg, by default, limits the amount that is saved of output written to any stream used by an action. More details here https://openjdk.org/jtreg/faq.html#how-much-output.

      The implication of this is that the .jtr files of tests will not always have the entire logged messages. In the JDK, it causes hard to debug failures, especially when a test fails intermittently. Some areas on the JDK's jtreg tests have configured an explicit value (through TEST.properties) to try and increase the maxOutputSize to something higher.

      It would be good to configure a default maxOutputSize at the root of the JDK tests, that is much higher than what we have today.

      A few experiments, with tier testing, will have to be run to verify what the optimal value is.

            jpai Jaikiran Pai
            jpai Jaikiran Pai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: