diff --git a/runner/lib/main.js b/runner/lib/main.js index 992188c..6004436 100644 --- a/runner/lib/main.js +++ b/runner/lib/main.js @@ -804,13 +804,10 @@ const main = async (progName, rawArgs, powers) => { const duration = (stageConfig.duration != null ? Number(stageConfig.duration) - : (!( - makeTasks === makeLocalChainTasks && - // Local tasks have nothing to do without loadgen - (chainOnly || - // First stage is setup only by default - (currentStage === 0 && stages > 1)) - ) && + : // Local tasks have nothing to do without loadgen + (!(makeTasks === makeLocalChainTasks && chainOnly) && + // First stage is setup only by default + !(currentStage === 0 && stages > 1) && sharedStageDurationMinutes) || 0) * 60;