Opush
  1. Opush
  2. OP-44

Reduce the number of thread jetty use during tests

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Normal Normal
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.1
    • Labels:
      None
    • Rank:
      6181

      Description

      When running tests on a server that has much cores, we have :

      java.lang.IllegalStateException: Insufficient max threads in ThreadPool: max=10 < needed=19
      	at org.eclipse.jetty.server.Server.doStart(Server.java:320)
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69)
      	at org.obm.push.spushnik.SpushnikServer.start(SpushnikServer.java:94)
      	at org.obm.push.spushnik.resources.FolderSyncScenarioTest.setUp(FolderSyncScenarioTest.java:99)
      
      

      To avoid this, we should change jetty parameters

        Activity

        Matthieu EXT_BAECHLER made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Matthieu EXT_BAECHLER made changes -
        Status In Progress [ 3 ] In Review [ 10001 ]
        Matthieu EXT_BAECHLER made changes -
        Status In Review [ 10001 ] Ready To Merge [ 10002 ]
        Resolution Fixed [ 1 ]
        Matthieu EXT_BAECHLER made changes -
        Status Ready To Merge [ 10002 ] Resolved [ 5 ]
        Antoine DUPRAT made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Matthieu EXT_BAECHLER
            Reporter:
            Matthieu EXT_BAECHLER
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: