Comment 32 for bug 1813147

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

Reviewed: https://review.openstack.org/635859
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=102679a1cf80d7a2191acb3ca84c815d4622a3f1
Submitter: Zuul
Branch: master

commit 102679a1cf80d7a2191acb3ca84c815d4622a3f1
Author: Matt Riedemann <email address hidden>
Date: Fri Feb 8 10:16:34 2019 -0500

    Trim fake_deserialize_context in test_conductor

    The assertions on the user_id and project_id in the
    fake_deserialize_context methods do not actually
    cause tests to fail if they raise MismatchError
    because oslo.messaging just swallows the exception
    and logs the traceback. With enough of these getting
    logged it will cause subunit parser failures in the
    console output because the stream is too large.

    This removes the fake method and just changes the
    stub to be a lambda that returns self.context which
    is what fake_deserialize_context was doing minus
    the project_id/user_id assertions.

    Change-Id: I26b201b410aa1d965dc7a6635c11c8b63b457a71
    Partial-Bug: #1813147