Comment 3 for bug 1000931

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/7555
Committed: http://github.com/openstack/glance/commit/dd81f120fd68e136d21fe8f17eae0b3e4fba370d
Submitter: Jenkins
Branch: master

commit dd81f120fd68e136d21fe8f17eae0b3e4fba370d
Author: Dan Prince <email address hidden>
Date: Thu May 17 15:14:38 2012 -0400

    Fix glance-api process leak in respawn storm test.

    Fixes a glance-api process leak that occurs when running
    TestMultiprocessing.test_interrupt_avoids_respawn_storm.

    The test code creates an array of pids sorted numerically sorted in
    reverse (largest to smallest) meaning the child pids should be at the
    top of the list. This patch simply grabs the child pids from the top of
    the list instead of relying on the length of the list.

    Fixes LP Bug #1000931.

    Change-Id: I91d538e686a770778d9855a1bd5a1767cc83842e