Excessively long wait time when a test isn't properly mocked

Bug #903349 reported by Gabriel Hurley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Undecided
Gabriel Hurley

Bug Description

When tests aren't mocked properly, API calls are made to non-existent endpoints, causing excessively long wait times for tests to fail. We can fix this!

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/2263
Committed: http://github.com/openstack/horizon/commit/c63d0973fa35d83b4f8be679236ec1acd7536879
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit c63d0973fa35d83b4f8be679236ec1acd7536879
Author: Gabriel Hurley <email address hidden>
Date: Mon Dec 12 11:34:42 2011 -0800

    Testing improvements.

    Fixes bug 903349 -- sets socket timeout and overrides httplib2 connection
    method so that escaping external URI calls don't sit around forever.

    Fixes bug 894776 -- run_tests.sh properly respects the -N flag again.

    Change-Id: I979f49f065021cb91d8b9d01b6a36f78de1897df

Changed in horizon:
status: New → Fix Committed
Changed in horizon:
assignee: nobody → Gabriel Hurley (gabriel-hurley)
Thierry Carrez (ttx)
Changed in horizon:
milestone: none → essex-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: essex-2 → 2012.1
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.