Skip to content

Commit

Permalink
docs: add code snippet for admin cert modification (#257) (#258)
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas <thomas.leera@gmail.com>

Co-authored-by: ankitm123 <ankitmohapatra123@gmail.com>
  • Loading branch information
ThomasRalee and ankitm123 committed Jul 28, 2021
1 parent 6b50b8f commit 3ed0435
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/sync.ts
Expand Up @@ -59,7 +59,7 @@ process.on('unhandledRejection', (up : {message : string}) => {
logger.error(up);
}
// prevent timeout error from calling shutdown
if (!up.message.includes('REQUEST TIMEOUT')) {
if (!up.message.includes('REQUEST TIMEOUT') && !up.message.includes('ETIMEOUT')) {
shutDown();
}
});
Expand Down
3 changes: 2 additions & 1 deletion client/e2e-test/specs/dashboard/dashboard.test.js
Expand Up @@ -73,8 +73,9 @@ describe('Dashboard view', () => {
const blkList = blkListElm.map(async (elm, idx, array) => {
return await elm.innerText();
});

await Promise.all(blkList).then(list => {
expect(list).to.include.members(['Block 5', 'Block 4', 'Block 3']);
expect(list.length).to.be.equal(3);
});
});

Expand Down

0 comments on commit 3ed0435

Please sign in to comment.