Skip to content

Commit

Permalink
Extend timeout to meet runners speed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabricio-ESP committed Oct 28, 2024
1 parent 795c449 commit 7ca09a4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/script/postInstall.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ describe("Check if IDF installation is functional", function () {
/**
* This test attempts to set a target MCU for the project created in the previous test.
*/
this.timeout(30000);
this.timeout(45000);
testRunner.sendInput("idf.py set-target esp32\r");

const targetSet = await testRunner.waitForOutput(
"Build files have been written to",
30000
45000
);
if (!targetSet) {
logger.info(testRunner.output);
Expand All @@ -94,12 +94,12 @@ describe("Check if IDF installation is functional", function () {
* This test attempts to build artifacts for the project and targets selected above.
* The test is successfull if the succss message is printed in the terminal.
*/
this.timeout(60000);
this.timeout(100000);
testRunner.sendInput("idf.py build\r");

const buildComplete = await testRunner.waitForOutput(
"Project build complete",
60000
100000
);
if (!buildComplete) {
logger.info(testRunner.output);
Expand Down

0 comments on commit 7ca09a4

Please sign in to comment.