[Xapian-tickets] [Xapian] #767: Make testcases using different backends run in parallel

Xapian nobody at xapian.org
Tue Jul 31 14:53:30 BST 2018


#767: Make testcases using different backends run in parallel
---------------------------+--------------------
        Reporter:  gp1308  |      Owner:  gp1308
            Type:  task    |     Status:  new
        Priority:  normal  |  Milestone:
       Component:  Other   |    Version:
        Severity:  normal  |   Keywords:
      Blocked By:          |   Blocking:
Operating System:  All     |
---------------------------+--------------------
 All test cases are run sequentially. Test cases which use different
 backends can be run in parallel. As a result total elapsed time can be
 reduced by a great factor.

 This ticket tracks initial planning and work done to speed up the test
 suite.

 Plan: We have decided to fork a child process for each backend run test
 cases related to that backend in the child process. We must devise a way
 to report the progress from
 multiple processes running test cases in parallel. Olly suggested about
 using a pipe to communicate the progress to parent process which performs
 the display job.

 `BackendManagerSingleFile`, `BackendManagerMulti` and
 `BackendManagerRemote` share glass database hence these can't be run in
 parallel.

--
Ticket URL: <https://trac.xapian.org/ticket/767>
Xapian <https://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list