File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -1109,7 +1109,7 @@ mod tests {
11091109 dest. push ( "test2.py" ) ;
11101110 fs:: rename ( file_path, dest. as_path ( ) ) . unwrap ( ) ;
11111111 // Wait for the filewatcher to debounce this file write.
1112- sleep ( Duration :: from_secs ( 2 ) ) . await ;
1112+ sleep ( Duration :: from_secs ( 3 ) ) . await ;
11131113 let m = get_message ( & mut to_client_rx) . await ;
11141114 assert_eq ! ( m. id, INITIAL_IDE_MESSAGE_ID + 2.0 * MESSAGE_ID_INCREMENT ) ;
11151115 assert ! ( matches!( m. message, EditorMessageContents :: Closed ) ) ;
Original file line number Diff line number Diff line change @@ -127,10 +127,7 @@ impl Cli {
127127 let ping_addr = fix_addr ( addr) ;
128128 loop {
129129 // Look for a ping/pong response from the server.
130- match minreq:: get ( format ! ( "http://{ping_addr}/ping" ) )
131- . with_timeout ( 3 )
132- . send ( )
133- {
130+ match minreq:: get ( format ! ( "http://{ping_addr}/ping" ) ) . send ( ) {
134131 Ok ( response) => {
135132 let status_code = response. status_code ;
136133 let body = response. as_str ( ) . unwrap_or ( "Non-text body" ) ;
You can’t perform that action at this time.
0 commit comments