Separate timeout and connection dropped errors out (#30457)
This commit is contained in:
@@ -8900,6 +8900,7 @@ async fn test_multiple_formatters(cx: &mut TestAppContext) {
|
||||
},
|
||||
})
|
||||
.await
|
||||
.into_response()
|
||||
.unwrap();
|
||||
Ok(Some(json!(null)))
|
||||
}
|
||||
@@ -19153,6 +19154,7 @@ async fn test_apply_code_lens_actions_with_commands(cx: &mut gpui::TestAppContex
|
||||
},
|
||||
)
|
||||
.await
|
||||
.into_response()
|
||||
.unwrap();
|
||||
Ok(Some(json!(null)))
|
||||
}
|
||||
|
||||
@@ -1409,6 +1409,7 @@ pub mod tests {
|
||||
fake_server
|
||||
.request::<lsp::request::InlayHintRefreshRequest>(())
|
||||
.await
|
||||
.into_response()
|
||||
.expect("inlay refresh request failed");
|
||||
cx.executor().run_until_parked();
|
||||
editor
|
||||
@@ -1492,6 +1493,7 @@ pub mod tests {
|
||||
token: lsp::ProgressToken::String(progress_token.to_string()),
|
||||
})
|
||||
.await
|
||||
.into_response()
|
||||
.expect("work done progress create request failed");
|
||||
cx.executor().run_until_parked();
|
||||
fake_server.notify::<lsp::notification::Progress>(&lsp::ProgressParams {
|
||||
@@ -1863,6 +1865,7 @@ pub mod tests {
|
||||
fake_server
|
||||
.request::<lsp::request::InlayHintRefreshRequest>(())
|
||||
.await
|
||||
.into_response()
|
||||
.expect("inlay refresh request failed");
|
||||
cx.executor().run_until_parked();
|
||||
editor
|
||||
@@ -2008,6 +2011,7 @@ pub mod tests {
|
||||
fake_server
|
||||
.request::<lsp::request::InlayHintRefreshRequest>(())
|
||||
.await
|
||||
.into_response()
|
||||
.expect("inlay refresh request failed");
|
||||
cx.executor().run_until_parked();
|
||||
editor
|
||||
@@ -2070,6 +2074,7 @@ pub mod tests {
|
||||
fake_server
|
||||
.request::<lsp::request::InlayHintRefreshRequest>(())
|
||||
.await
|
||||
.into_response()
|
||||
.expect("inlay refresh request failed");
|
||||
cx.executor().run_until_parked();
|
||||
editor
|
||||
|
||||
Reference in New Issue
Block a user