File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -58,13 +58,13 @@ test("Can find devices", async () => {
5858 await device . disconnect ( )
5959 await device . connect ( )
6060 const withChunk = await timer ( ( ) => device . runScript ( script ) )
61- await device . _config . set ( { ...device . config , adapterOptions : { } } )
61+ await device . _config . set ( { ...device . config , adapterOptions : { chunkSize : null , chunkDelay : null } } )
6262 await device . disconnect ( )
6363 await device . connect ( )
6464
6565 assert . equal ( withChunk . result , 'Hello world. How are you today?' )
6666 assert . equal ( withoutChunk . result , 'Hello world. How are you today?' )
67- assert ( withChunk . time > ( withoutChunk . time * 2 ) , `Chunking should be slower ${ withChunk . time } > (${ withoutChunk . time } * 2 )` )
67+ assert ( withChunk . time > ( withoutChunk . time * 1.5 ) , `Chunking should be slower ${ withChunk . time } > (${ withoutChunk . time } * 1.5 )` )
6868 } )
6969
7070 test ( "can disconnect" , async ( ) => {
You can’t perform that action at this time.
0 commit comments