Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #535 from Financial-Times/longer-wait-for-review
Browse files Browse the repository at this point in the history
Wait longer for review apps to complete
  • Loading branch information
adgad authored Nov 26, 2018
2 parents c0b3dea + 77b035a commit 10a4791
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/review-apps.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const DEFAULT_HEADERS = {
'Content-Type': 'application/json'
};

const NUM_RETRIES = 30;
const NUM_RETRIES = 60;
const RETRY_EXP_BACK_OFF_FACTOR = 1;
const MIN_TIMEOUT = 10 * 1000;
const REVIEW_APP_STATUSES = {
Expand Down
4 changes: 2 additions & 2 deletions lib/review-apps.unit.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ describe('review-apps', () => {
const appId = 'app123';
nockScope
.get('/apps/app123/builds')
.times(30)
.times(60)
.reply(200, []);

return waitForReviewAppBuild({
Expand Down Expand Up @@ -415,7 +415,7 @@ describe('review-apps', () => {
};
reviewAppsNockScope
.get('/review-apps/reviewApp123')
.times(30)
.times(60)
.reply(200, []);

return waitTillReviewAppCreated({ minTimeout: 0 })(reviewApp)
Expand Down

0 comments on commit 10a4791

Please sign in to comment.