Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.3, 1.2.1, 1.3.0, 2.0.0
    • Fix Version/s: 1.0.4, 1.2.2, 1.3.0, 2.0.0-M3
    • Component/s: None
    • Labels:
      None

      Activity

      Michael Dick created issue -
      Hide
      Michael Dick added a comment -

      Currently trunk uses the default derby.locks.waitTimeout (60) and a derby.locks.deadlockTimeout of 5. I suspect that these can be tuned for the developer's hardware and provide quicker test execution.

      <anecdotal evidence>
      setting waitTimeout = 10 saved me 5 - 10 minutes on a build last night.
      </anecdotal evidence>

      The properties can be specified on the command line :
      $ mvn -Dderby.locks.deadlockTimeout=10 -Dderby.locks.waitTimeout=15 clean test

      or in settings.xml :
      <profile>
      <id>derby-locking</id>
      <properties>
      <derby.locks.deadlockTimeout>3</derby.locks.deadlockTimeout>
      <derby.locks.waitTimeout>5</derby.locks.waitTimeout>
      </properties>
      </profile>

      The profile (as shown) needs to be activated on the command line :
      $ mvn -Pderby-locking clean test

      Show
      Michael Dick added a comment - Currently trunk uses the default derby.locks.waitTimeout (60) and a derby.locks.deadlockTimeout of 5. I suspect that these can be tuned for the developer's hardware and provide quicker test execution. <anecdotal evidence> setting waitTimeout = 10 saved me 5 - 10 minutes on a build last night. </anecdotal evidence> The properties can be specified on the command line : $ mvn -Dderby.locks.deadlockTimeout=10 -Dderby.locks.waitTimeout=15 clean test or in settings.xml : <profile> <id>derby-locking</id> <properties> <derby.locks.deadlockTimeout>3</derby.locks.deadlockTimeout> <derby.locks.waitTimeout>5</derby.locks.waitTimeout> </properties> </profile> The profile (as shown) needs to be activated on the command line : $ mvn -Pderby-locking clean test
      Michael Dick made changes -
      Field Original Value New Value
      Original Estimate 0h [ 0 ]
      Remaining Estimate 0h [ 0 ]
      Michael Dick made changes -
      Status Open [ 1 ] Closed [ 6 ]
      Resolution Fixed [ 1 ]
      Hide
      Michael Dick added a comment -

      The values in the profile might not work well on trunk (I haven't tried) - they should be good for earlier releases (1.0.x).

      The earlier releases do not include an extensive lock manager test suite. The lock manager test suite is sensitive to these settings and has been known to cause problems with deadlockTimeout=5, waitTimeout=6.

      Some experimentation (without local changes) is advised before changing them in your environment (YMMV).

      Show
      Michael Dick added a comment - The values in the profile might not work well on trunk (I haven't tried) - they should be good for earlier releases (1.0.x). The earlier releases do not include an extensive lock manager test suite. The lock manager test suite is sensitive to these settings and has been known to cause problems with deadlockTimeout=5, waitTimeout=6. Some experimentation (without local changes) is advised before changing them in your environment (YMMV).
      Michael Dick made changes -
      Fix Version/s 1.0.4 [ 12313301 ]
      Fix Version/s 1.2.2 [ 12313681 ]
      Fix Version/s 1.3.0 [ 12313326 ]
      Fix Version/s 2.0.0 [ 12314019 ]
      Affects Version/s 1.2.1 [ 12313328 ]
      Affects Version/s 1.0.3 [ 12312969 ]
      Affects Version/s 1.3.0 [ 12313326 ]
      Affects Version/s 2.0.0 [ 12314019 ]
      Donald Woods made changes -
      Fix Version/s 2.0.0-M3 [ 12314148 ]
      Fix Version/s 1.0.4 [ 12313301 ]
      Fix Version/s 1.3.0 [ 12313326 ]
      Fix Version/s 1.2.2 [ 12313681 ]
      Fix Version/s 2.0.0 [ 12314019 ]
      Michael Dick made changes -
      Fix Version/s 1.0.4 [ 12313301 ]
      Fix Version/s 1.2.2 [ 12313681 ]
      Fix Version/s 1.3.0 [ 12313326 ]
      Priority Major [ 3 ] Minor [ 4 ]

        People

        • Assignee:
          Michael Dick
          Reporter:
          Michael Dick
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development