Derby
  1. Derby
  2. DERBY-4429

Let StressMultiTest read Threads and Minutes to run as system property

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.6.1.0
    • Fix Version/s: 10.6.1.0
    • Component/s: Test
    • Labels:
      None
    • Environment:
      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.

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

        Activity

          People

          • Assignee:
            Ole Solberg
            Reporter:
            Ole Solberg
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development