Functional test fails when using override-url option

Bug #1424393 reported by Dave McCowan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Barbican
Fix Released
Medium
Dave McCowan

Bug Description

The get_base_url() method of BarbicanClient() needs to be able to return a URL both with and without the version part of the URL.
For example: http://localhost:9311/ and override_url=http://localhost:9311/v1.

The use of the override-url parameter in dev_temptest.conf does not provide for this support.

This causes the VersionDiscoveryTestCase() to fail.

Changed in barbican:
assignee: nobody → Dave McCowan (dave-mccowan)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to barbican (master)

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

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

Reviewed: https://review.openstack.org/158132
Committed: https://git.openstack.org/cgit/openstack/barbican/commit/?id=e4161ae87d44ef52535dd30d838f0a63e2cb8645
Submitter: Jenkins
Branch: master

commit e4161ae87d44ef52535dd30d838f0a63e2cb8645
Author: Dave McCowan <email address hidden>
Date: Sun Feb 22 10:57:00 2015 -0500

    Split override-url in functional test config file

    BarbicanClient() needs to be able to build a base URL that can
    either include or exclude the version string. This commit
    splits these to components in dev_tempest.conf to allow for this
    support.

    Change-Id: If08ad992c0706219f73c3769f4ab68e4bf9c51ae
    Closes-bug: 1424393

Changed in barbican:
status: In Progress → Fix Committed
Changed in barbican:
importance: Undecided → Medium
milestone: none → kilo-3
Thierry Carrez (ttx)
Changed in barbican:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in barbican:
milestone: kilo-3 → 2015.1.0
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.