@@ -99,7 +99,7 @@ describe('Integration tests', function () {
9999 ] ,
100100 2 : [
101101 { worker : worker1 , useEnclave : false , result : 'iExec BOT 2' } ,
102- { worker : worker3 , useEnclave : false , result : '<timeout reached >' } ,
102+ { worker : worker3 , useEnclave : false , result : '<bad contribution >' } ,
103103 { worker : worker2 , useEnclave : true , result : 'iExec BOT 2' } ,
104104 { worker : worker4 , useEnclave : true , result : 'iExec BOT 2' } ,
105105 { worker : worker5 , useEnclave : true , result : 'iExec BOT 2' } ,
@@ -127,6 +127,7 @@ describe('Integration tests', function () {
127127 . viewDeal ( dealId )
128128 . then ( ( deal ) => deal . workerStake . toNumber ( ) ) ;
129129 for ( let taskIndex = 0 ; taskIndex < volume ; taskIndex ++ ) {
130+ console . log ( 'Task index: ' + taskIndex ) ;
130131 const taskId = await iexecWrapper . initializeTask ( dealId , taskIndex ) ;
131132 const initialScores = await getInitialScores ( workers ) ;
132133 const contributions = tasksAndWorkers [ taskIndex ] ;
@@ -144,7 +145,7 @@ describe('Integration tests', function () {
144145 for ( const contribution of contributions ) {
145146 const { worker, result } = contribution ;
146147 const { resultDigest } = buildUtf8ResultAndDigest ( result ) ;
147- if ( result !== '<timeout reached >' ) {
148+ if ( result !== '<bad contribution >' ) {
148149 await iexecPoco
149150 . connect ( worker )
150151 . reveal ( taskId , resultDigest )
0 commit comments