Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4429

Let StressMultiTest read Threads and Minutes to run as system property

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.6.1.0
    • 10.6.1.0
    • Test
    • None
    • All

    Description

      Allow StressMultiTest to read System Property "derby.tests.ThreadsMinutes" to set the number of threads and minutes testStressMulti should run.
      Example: '-Dderby.tests.ThreadsMinutes=33x3'.
      This will set
      StressMultiTest.THREADS to 33 and
      StressMultiTest.MINUTES to 3.

      This can be utilized to for example
      reduce the time StressMultiTest is run in a tinderbox test: '-Dderby.tests.ThreadsMinutes=33x3' and
      increase the load for a specific test: '-Dderby.tests.ThreadsMinutes=200x60'.
      The StressMultiTest defaults are as set with '-Dderby.tests.ThreadsMinutes=10x10'.

      By default the test suite for StressMultiTest is set to run in embedded, client and encryption mode, i.e. 3 x the Minutes specified.

      Attachments

        1. DERBY-StressMultiOptions_stat.txt
          0.1 kB
          Ole Solberg
        2. DERBY-StressMultiOptions_stat_2.txt
          0.1 kB
          Ole Solberg
        3. DERBY-StressMultiOptions_diff.txt
          1 kB
          Ole Solberg
        4. DERBY-StressMultiOptions_diff_2.txt
          2 kB
          Ole Solberg

        Activity

          People

            olesolberg Ole Solberg
            olesolberg Ole Solberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: