API tests can fail due to expired token
Bug #1762493 reported by
Mikhail Chernik
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
heat-tempest-plugin |
In Progress
|
High
|
Mikhail Chernik |
Bug Description
When running Heat tests along with the whole tempest suite, Heat API tests can fail:
AssertionError: '401' not found in ['201'], response:
{
"error": {
"message": "The request you have made requires authentication.",
"code": 401,
"title": "Unauthorized"
}
}
This never occurs when running Heat tempest plugin alone.
The reason is that token is obtained during test initialization and by the time of actual execution can expire.
Changed in heat-tempest-plugin: | |
assignee: | nobody → Mikhail Chernik (mchernik) |
Changed in heat-tempest-plugin: | |
status: | New → In Progress |
Changed in heat-tempest-plugin: | |
importance: | Undecided → High |
To post a comment you must log in.
Fix proposed: https:/ /review. openstack. org/#/c/ 559803/