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

        No work has yet been logged on this issue.

          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: