Skip to content

Commit

Permalink
Disable one flaky tests in emulator. (#1205)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuchenshi authored Mar 25, 2021
1 parent 97d3823 commit 19660d9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/integration/auth.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -441,8 +441,12 @@ describe('admin.auth', () => {
.then((listUsersResult) => {
// Confirm expected number of users.
expect(listUsersResult.users.length).to.equal(2);
// Confirm next page token present.
expect(typeof listUsersResult.pageToken).to.equal('string');
// TODO(yuchenshi): Investigate on why this is flaky in emulator.
if (!authEmulatorHost) {
// Confirm next page token present.
expect(typeof listUsersResult.pageToken).to.equal('string');
}

// Confirm each user's uid and the hashed passwords.
expect(listUsersResult.users[0].uid).to.equal(uids[1]);

Expand Down

0 comments on commit 19660d9

Please sign in to comment.