Quota test test_get_quotas_with_defaults() assumes -1 is default

Bug #1498525 reported by John Wood
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Barbican
Fix Released
Medium
John Wood

Bug Description

The functionaltests.api.v1.functional.test_quotas.py::test_get_quotas_with_defaults() method assumes that the default quota limit for all resources is -1. Deployers can change these default limits however, so this default value should instead come from the etc/barbican/barbican-functional.conf file used by the functional tests.

This bug is to add those configuration fields.

John Wood (john-wood-w)
Changed in barbican:
assignee: nobody → John Wood (john-wood-w)
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/226366

Changed in barbican:
status: New → In Progress
Changed in barbican:
status: In Progress → Triaged
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to barbican (master)

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

commit dea3b4817c22c8a42874ec6f0778d5e743e80ccc
Author: jfwood <email address hidden>
Date: Tue Sep 22 09:55:19 2015 -0500

    Add default quota limit config to functional tests

    Expected quota limits were -1, but deployers can change these defaults
    so functional tests should also allow for these default limits to be
    configured. This CR adds those configurations.

    Change-Id: I889227560206cd60f774157e690d9341441ee76b
    Closes-Bug: #1498525

Changed in barbican:
status: Triaged → Fix Committed
Thierry Carrez (ttx)
Changed in barbican:
milestone: none → liberty-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in barbican:
milestone: liberty-rc1 → 1.0.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.