API tests can fail due to expired token

Bug #1762493 reported by Mikhail Chernik
6
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)
Revision history for this message
Mikhail Chernik (mchernik) wrote :
Changed in heat-tempest-plugin:
status: New → In Progress
Zane Bitter (zaneb)
Changed in heat-tempest-plugin:
importance: Undecided → High
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.