Skip to content

Commit

Permalink
AT-11105: Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rddimon committed Feb 6, 2024
1 parent 281f2a4 commit d260f7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/integration-tests/debug/debug.test.ts
Expand Up @@ -16,6 +16,7 @@ describe("Integration Tests", function () {
await utilities.createTempDir(TEMP_DIR, configFolder);
await utilities.slsCreateDomain(TEMP_DIR, true);
await utilities.slsDeploy(TEMP_DIR, true);
// run again to make sure the deployment is succeeded
await utilities.slsDeploy(TEMP_DIR, true);
} finally {
await utilities.destroyResources(testName);
Expand Down
1 change: 1 addition & 0 deletions test/integration-tests/test-utilities.ts
Expand Up @@ -55,6 +55,7 @@ function slsCreateDomain (tempDir, debug: boolean = false) {
* @returns {Promise<void>}
*/
async function slsDeploy (tempDir, debug: boolean = false) {
// sleep to avoid `to many requests` error as we run a lot of tests one after another
await sleep(5000);
return exec(`cd ${tempDir} && npx serverless deploy` + (debug ? " --verbose" : ""));
}
Expand Down

0 comments on commit d260f7c

Please sign in to comment.