Skip to content

Commit fd5fd0e

Browse files
authored
Merge pull request #294 from HRanjan-11/CYP-905
download artefacts only when sync flag is true.
2 parents a2f03c7 + 09990d7 commit fd5fd0e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

commands/utils/batch/batch_runner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ async function run(lt_config, batches, env) {
168168
}
169169
}
170170
if (failed_tests.length > 0) {
171-
console.log("retrying these failed tests "+ failed_tests)
171+
console.log("Retrying failed tests.")
172172
lt_config["run_settings"]["specs"]=failed_tests;
173173
batcher
174174
.make_batches(lt_config)

commands/utils/poller/poller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function poll_build(lt_config, session_id, env) {
4646
console.table(status);
4747
console.log(stats);
4848
//Download the artefacts if downloads is passed
49-
if (lt_config.run_settings.downloads != "") {
49+
if (lt_config.run_settings.downloads != "" && lt_config["run_settings"]["sync"] == true) {
5050
let args = {
5151
user: lt_config.lambdatest_auth.username,
5252
access_key: lt_config.lambdatest_auth.access_key,

0 commit comments

Comments
 (0)