OS_STDOUT_CAPTURE not capturing stdout in tests

Bug #1421307 reported by Ruby Loo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-ironicclient
Fix Released
Low
Ruby Loo

Bug Description

In .testr.conf, we have 'test_command=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 ...'

OS_STDOUT_CAPTURE is meant to be used to capture stdout in the tests, and similarly for OS_STDERR_CAPTURE, but they aren't being used.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-ironicclient (master)

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

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

Reviewed: https://review.openstack.org/155406
Committed: https://git.openstack.org/cgit/openstack/python-ironicclient/commit/?id=a23cc737982df35ed76635d1a23d6ff040bfd355
Submitter: Jenkins
Branch: master

commit a23cc737982df35ed76635d1a23d6ff040bfd355
Author: Ruby Loo <email address hidden>
Date: Thu Feb 12 16:55:04 2015 +0000

    Capture stdout or stderr in tests

    This uses the environment variables OS_STDOUT_CAPTURE and
    OS_STDERR_CAPTURE to determine whether or not to capture
    stdout and stderr (respectively) in the unit tests. These
    will appear in the test results for tests that fail.

    Capturing will be done if the value is set to one of
    (case-insensitive) '1', 't', 'true', 'on', 'y', 'yes'.
    Any other value will turn off capturing. The default (via
    .testr.conf) is to capture.

    Change-Id: I3e6006aa1ed1cf3fad7e55a7201be1c10d165431
    Closes-Bug: #1421307

Changed in python-ironicclient:
status: In Progress → Fix Committed
Changed in python-ironicclient:
milestone: none → 0.7.0
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.