Closed Bug 1580666 Opened 7 years ago Closed 7 years ago

auth containers_test.js is flaky

Categories

(Taskcluster :: Services, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dustin, Assigned: dustin)

Details

  1) services/auth/test/containers_test.js (real)
       get when blob is empty:
      AssertionError [ERR_ASSERTION]: [ { roleId: 'myrole:a',
    description: 'test role',
    scopes: [ 'myapi:a:a', 'myapi:a:b' ],
    lastModified: '2019-09-12... deepEqual []
      + expected - actual
      -[
      -  {
      -    "created": "2019-09-12T02:12:50.253Z"
      -    "description": "test role"
      -    "lastModified": "2019-09-12T02:12:50.253Z"
      -    "roleId": "myrole:a"
      -    "scopes": [
      -      "myapi:a:a"
      -      "myapi:a:b"
      -    ]
      -  }
      -  {
      -    "created": "2019-09-12T02:12:50.823Z"
      -    "description": "test role"
      -    "lastModified": "2019-09-12T02:12:50.823Z"
      -    "roleId": "myrole:b"
      -    "scopes": [
      -      "assume:myrole:a"
      -      "myapi:b:a"
      -    ]
      -  }
      -]
      +[]

Is there some race condition with clearing that blob from previous tests?

I'm assuming this is a result of bug 1579496.

Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Status: REOPENED → RESOLVED
Closed: 7 years ago → 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.