Skip to content

Commit

Permalink
Update placement for os-traits 2.8.0 release
Browse files Browse the repository at this point in the history
This change re enables checking the standard
trait count and updates placement to require
os-traits 2.8.0

Depends-on: https://review.opendev.org/c/openstack/requirements/+/851423
Change-Id: If5c07703d7c236c9fe0eb70e31ef1afb1d3c7a3d
  • Loading branch information
tbreeds committed Aug 2, 2022
1 parent cbd0198 commit c4e8925
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions placement/tests/functional/gabbits/traits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@ defaults:
openstack-api-version: placement 1.6

tests:
# FIXME(tonyb): commnet out to allow os-traits 2.8.0
# - name: what is at traits
# GET: /traits
# response_json_paths:
# $.traits.`len`: 335 # Number of standard traits
- name: what is at traits
GET: /traits
response_json_paths:
$.traits.`len`: 344 # Number of standard traits

- name: create a trait without custom namespace
PUT: /traits/TRAIT_X
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ oslo.middleware>=3.31.0 # Apache-2.0
oslo.upgradecheck>=1.3.0 # Apache-2.0
# NOTE(efried): Sync lower-constraints.txt for os-traits & os-resource-classes.
os-resource-classes>=1.1.0 # Apache-2.0
os-traits>=2.7.0 # Apache-2.0
os-traits>=2.8.0 # Apache-2.0
microversion-parse>=0.2.1 # Apache-2.0

0 comments on commit c4e8925

Please sign in to comment.