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_2.txt
        2 kB
        Ole Solberg
      2. DERBY-StressMultiOptions_diff.txt
        1 kB
        Ole Solberg
      3. DERBY-StressMultiOptions_stat_2.txt
        0.1 kB
        Ole Solberg
      4. DERBY-StressMultiOptions_stat.txt
        0.1 kB
        Ole Solberg

        Activity

        Ole Solberg created issue -
        Ole Solberg made changes -
        Field Original Value New Value
        Attachment DERBY-StressMultiOptions_diff.txt [ 12423819 ]
        Attachment DERBY-StressMultiOptions_stat.txt [ 12423820 ]
        Ole Solberg made changes -
        Issue & fix info [Patch Available]
        Description Allow StressMultiTest to read System Property "derby.test.ThreadsMinutes" to set the number of threads and minutes testStressMulti should run.
        Example: '-Dderby.test.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.test.ThreadsMinutes=33x3' and
        increase the load for a specific test: '-Dderby.test.ThreadsMinutes=200x60'.
        The StressMultiTest defaults are as set with '-Dderby.test.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.
        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.
        Ole Solberg made changes -
        Attachment DERBY-StressMultiOptions_diff_2.txt [ 12423826 ]
        Attachment DERBY-StressMultiOptions_stat_2.txt [ 12423827 ]
        Ole Solberg made changes -
        Issue & fix info [Patch Available]
        Ole Solberg made changes -
        Issue & fix info [Patch Available]
        Ole Solberg made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Kathey Marsden made changes -
        Fix Version/s 10.6.0.0 [ 12313727 ]
        Gavin made changes -
        Workflow jira [ 12481016 ] Default workflow, editable Closed status [ 12799530 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development