File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,3 +127,8 @@ function buildExecRunner(failedByAssert, runOpts) {
127127module . exports = {
128128 buildExecRunner
129129}
130+
131+
132+ const a = `IT_TITLE:[Upload product offer]
133+ E/launcher - Process exited with error code 1
134+ `
Original file line number Diff line number Diff line change @@ -46,14 +46,28 @@ function reRunnerBuilder(runOptions) {
4646 . map ( ( file ) => getFormedRunCommand ( file ) ) )
4747 . filter ( function ( cmd ) { return cmd . includes ( grepWord ) } )
4848
49+ if ( defaultStatus ) {
50+ console . log ( `Attempts count is: ${ attemptsCount } ` )
51+ }
52+
4953 const failedCommands = await new Array ( attemptsCount )
5054 // create array with current length
5155 . fill ( attemptsCount )
5256 // execute run
5357 . reduce ( ( resolver , /*current*/ current , index ) => {
5458
55- return resolver . then ( ( resolvedCommandsArray ) => {
59+ if ( defaultStatus ) {
60+ console . log ( '>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>' )
61+ console . log ( `Execution number: ${ index } ` )
62+ console . log ( '>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>' )
63+ }
5664
65+ return resolver . then ( ( resolvedCommandsArray ) => {
66+ if ( defaultStatus ) {
67+ console . log ( '=========================================================================' )
68+ console . log ( `Processes count: ${ resolvedCommandsArray . length } ` )
69+ console . log ( '=========================================================================' )
70+ }
5771 return runCommandsArray ( resolvedCommandsArray , [ ] , index )
5872
5973 . then ( ( failedCommandsArray ) => {
You can’t perform that action at this time.
0 commit comments