[doc]Parallel test execution with py.test

Bug #1391873 reported by OpenStack Infra
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Irina Povolotskaya

Bug Description

https://review.openstack.org/133257
commit 6b01a6c7d2f1c2f76b5f3164d95680d8fa5e0303
Author: Dima Shulyak <email address hidden>
Date: Fri Nov 7 17:01:18 2014 +0200

    Parallel test execution with py.test

    Patch adds ability to execute test run distributed over
    several processes, each one with isolated database.

    Assumptions:
    - nailgun user, requires createdb permission, if not please precreate
      databases in format described below
    - postgres database will be used for initial connection
    - for environment where createdb can not be granted, like ci
      operator need to create several databases, nailgun[0-7],
      count of databases should be equal to TEST_WORKERS variable
    - If no TEST_WORKERS provided - default database name will be used,
      it is almost every time nailgun, but you can overwrite it with
      TEST_NAILGUN_DB env variable

    To execute tests on your local environment:
      py.test -n 4 nailgun/tests/

    DocImpact
    Partial-Bug: 1388751
    Change-Id: I6037108f1888b61f971a10db5209b20712467173

Tags: fuel-web
Dima Shulyak (dshulyak)
Changed in fuel:
milestone: none → 6.0
assignee: nobody → Dima Shulyak (dshulyak)
summary: - Parallel test execution with py.test
+ [doc]Parallel test execution with py.test
Changed in fuel:
status: New → Triaged
importance: Undecided → High
Dima Shulyak (dshulyak)
Changed in fuel:
status: Triaged → Fix Committed
Revision history for this message
Dima Shulyak (dshulyak) wrote :

Closed wrong bug

Changed in fuel:
status: Fix Committed → Confirmed
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
importance: High → Medium
Dima Shulyak (dshulyak)
Changed in fuel:
assignee: Dima Shulyak (dshulyak) → Fuel Documentation Team (fuel-docs)
Revision history for this message
Irina Povolotskaya (ipovolotskaya) wrote :

a couple of questions: where should we put this? into dev-guide (fuel-web repo)?

Revision history for this message
Dmitry Borodaenko (angdraug) wrote :

Yes, definitely dev guide material.

Changed in fuel:
milestone: 6.0 → 6.1
Changed in fuel:
assignee: Fuel Documentation Team (fuel-docs) → Irina (ipovolotskaya)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

Fix proposed to branch: master
Review: https://review.openstack.org/146423

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/146423
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=fd0399d23144f01f940201efc12bbcd560606612
Submitter: Jenkins
Branch: master

commit fd0399d23144f01f940201efc12bbcd560606612
Author: Irina Povolotskaya <email address hidden>
Date: Mon Jan 12 14:27:00 2015 +0300

    Adds information on parallel test execution

    Since tests can be run with py.test in a parallel manner,
    let's reflect the instructions in the Developer Guide.

    Change-Id: I03a2cbfe5e9e1a8e57afcd219cd0df0bd9c9fae3
    Closes-Bug: 1391873
    Closes-Bug: 1396623

Changed in fuel:
status: In Progress → Fix Committed
Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.