Zun

Setup policy in tests

Bug #1721584 reported by hongbin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zun
Fix Released
Medium
Hieu LE

Bug Description

The Zun test suits rely on unprotected policies [1] in order to test things. This is sub-optimal. The testing infrastructure needs to change to ensure we're actually testing policy (possibly removing unprotected policies).

[1] https://github.com/openstack/zun/blob/master/zun/tests/fake_policy.py

hongbin (hongbin034)
description: updated
Changed in zun:
status: New → Triaged
importance: Undecided → Medium
Hieu LE (hieulq)
Changed in zun:
assignee: nobody → Hieu LE (hieulq)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to zun (master)

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

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

Reviewed: https://review.openstack.org/510055
Committed: https://git.openstack.org/cgit/openstack/zun/commit/?id=e2bdfa13f5943af50636ef334f857c410b7888fc
Submitter: Jenkins
Branch: master

commit e2bdfa13f5943af50636ef334f857c410b7888fc
Author: Hieu LE <email address hidden>
Date: Fri Oct 6 17:42:19 2017 +0700

    Remove unprotected policies in unit test

    The Zun test suits rely on unprotected policies in order to test
    things. This patch remove usage of fake unprotected policies and
    advance to use native policies in code.

    Change-Id: I3b699991ebed9f88a61825596fc51617a3ce4ed2
    Closes-Bug: #1721584

Changed in zun:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/zun 1.0.0

This issue was fixed in the openstack/zun 1.0.0 release.

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.