File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ const connectionParams = {
1313 engineName : process . env . FIREBOLT_ENGINE_NAME as string
1414} ;
1515
16- jest . setTimeout ( 350000 ) ;
16+ jest . setTimeout ( 150000 ) ;
1717
1818describe ( "streams" , ( ) => {
1919 it ( "check sum from stream result" , async ( ) => {
@@ -405,13 +405,14 @@ describe("streams", () => {
405405 processedChunks ++ ;
406406
407407 // Simulate occasional slow processing with minimal delays
408- if ( processedChunks % 1000 === 0 ) {
409- setTimeout ( ( ) => {
410- callback ( ) ;
411- } , 1 ) ; // 1ms delay
412- } else {
413- callback ( ) ;
414- }
408+ // if (processedChunks % 1000 === 0) {
409+ // setTimeout(() => {
410+ // callback();
411+ // }, 1); // 1ms delay
412+ // } else {
413+ // callback();
414+ // }
415+ callback ( ) ;
415416 }
416417 } ) ;
417418
You can’t perform that action at this time.
0 commit comments