Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,7 @@ jobs:
name: Run E2E tests
command: |
cd packages/rn-tester-e2e
yarn test-e2e android
node ../../scripts/circleci/run_with_retry.js 3 "yarn test-e2e android"

# -------------------------
# JOBS: Build Android
Expand Down
4 changes: 2 additions & 2 deletions scripts/circleci/retry.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async function retry(command, options, maxRetries, delay, args) {
return true;
}

console.log(`Command failed on attempt ${i}`);
console.warn(`Command failed on attempt ${i}`);

if (i >= maxRetries) {
console.log('Maximum retries reached. Exiting.');
Expand All @@ -32,7 +32,7 @@ async function retry(command, options, maxRetries, delay, args) {
await new Promise(resolve => setTimeout(resolve, delay));
}

console.log('Retrying...');
console.log('Retrying...\n\n');
}
}

Expand Down