@@ -1431,15 +1431,15 @@ fn fetch_security_uses_one_deadline_across_redirects() {
14311431 let received = thread:: spawn ( move || {
14321432 server. set_nonblocking ( true ) . unwrap ( ) ;
14331433 let replies = [
1434- ( response ( "302 Found" , & [ ( "Location" , "/two" ) ] , "" ) , Duration :: from_millis ( 35 ) ) ,
1435- ( response ( "302 Found" , & [ ( "Location" , "/final.js" ) ] , "" ) , Duration :: from_millis ( 35 ) ) ,
1434+ ( response ( "302 Found" , & [ ( "Location" , "/two" ) ] , "" ) , Duration :: from_millis ( 350 ) ) ,
1435+ ( response ( "302 Found" , & [ ( "Location" , "/final.js" ) ] , "" ) , Duration :: from_millis ( 350 ) ) ,
14361436 (
14371437 response (
14381438 "200 OK" ,
14391439 & [ ] ,
14401440 "console.log(1);\n //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9" ,
14411441 ) ,
1442- Duration :: from_millis ( 60 ) ,
1442+ Duration :: from_millis ( 100 ) ,
14431443 ) ,
14441444 ] ;
14451445 for ( index, ( reply, delay) ) in replies. into_iter ( ) . enumerate ( ) {
@@ -1471,7 +1471,7 @@ fn fetch_security_uses_one_deadline_across_redirects() {
14711471 let output_path = output. path ( ) . to_path_buf ( ) ;
14721472 let fetch = thread:: spawn ( move || {
14731473 srcmap ( )
1474- . env ( "SRCMAP_FETCH_TIMEOUT_MS" , "100 " )
1474+ . env ( "SRCMAP_FETCH_TIMEOUT_MS" , "500 " )
14751475 . args ( [ "fetch" , & url, "-o" ] )
14761476 . arg ( output_path)
14771477 . output ( )
@@ -1486,7 +1486,7 @@ fn fetch_security_uses_one_deadline_across_redirects() {
14861486 received. join ( ) . unwrap ( ) ;
14871487 assert ! ( !out. status. success( ) , "{}" , String :: from_utf8_lossy( & out. stderr) ) ;
14881488 assert ! (
1489- elapsed < Duration :: from_millis( 250 ) ,
1489+ elapsed < Duration :: from_millis( 900 ) ,
14901490 "redirect chain took {elapsed:?}: {}" ,
14911491 String :: from_utf8_lossy( & out. stderr)
14921492 ) ;
0 commit comments