Skip to content

Commit

Permalink
Update tests for Windows, take into account bad handling of processes
Browse files Browse the repository at this point in the history
  • Loading branch information
dmvict committed Apr 25, 2024
1 parent 2e05f1a commit fe05504
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Command.test.s
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ function retryCheckRetryTime( test )
test.identical( _.strCount( op.output, 'Attempts exhausted, made 4 attempts' ), 0 );
if( process.platform === 'win32' )
{
test.le( _.strCount( op.output, 'str' ), 1 );
test.le( _.strCount( op.output, 'str' ), 2 );
test.identical( _.strCount( op.output, '::error::Process returned exit code 1' ), 1 );
}
else
Expand Down Expand Up @@ -586,7 +586,7 @@ function retryCheckRetryTime( test )
test.identical( _.strCount( op.output, 'Attempts exhausted, made 4 attempts' ), 0 );
if( process.platform === 'win32' )
{
test.le( _.strCount( op.output, 'str' ), 2 );
test.le( _.strCount( op.output, 'str' ), 3 );
test.identical( _.strCount( op.output, '::error::Process returned exit code 1' ), 1 );
}
else
Expand Down

0 comments on commit fe05504

Please sign in to comment.