diff options
Diffstat (limited to 'crates/ra_lsp_server/tests/heavy_tests/main.rs')
-rw-r--r-- | crates/ra_lsp_server/tests/heavy_tests/main.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crates/ra_lsp_server/tests/heavy_tests/main.rs b/crates/ra_lsp_server/tests/heavy_tests/main.rs index 3c2dc08ed..f61048aaf 100644 --- a/crates/ra_lsp_server/tests/heavy_tests/main.rs +++ b/crates/ra_lsp_server/tests/heavy_tests/main.rs | |||
@@ -365,7 +365,6 @@ fn main() {{}} | |||
365 | librs, libs | 365 | librs, libs |
366 | )); | 366 | )); |
367 | server.wait_until_workspace_is_loaded(); | 367 | server.wait_until_workspace_is_loaded(); |
368 | eprintln!("workspace loaded"); | ||
369 | for i in 0..10 { | 368 | for i in 0..10 { |
370 | server.notification::<DidOpenTextDocument>(DidOpenTextDocumentParams { | 369 | server.notification::<DidOpenTextDocument>(DidOpenTextDocumentParams { |
371 | text_document: TextDocumentItem { | 370 | text_document: TextDocumentItem { |
@@ -376,7 +375,6 @@ fn main() {{}} | |||
376 | }, | 375 | }, |
377 | }); | 376 | }); |
378 | } | 377 | } |
379 | eprintln!("docs opened"); | ||
380 | let start = std::time::Instant::now(); | 378 | let start = std::time::Instant::now(); |
381 | server.request::<OnEnter>( | 379 | server.request::<OnEnter>( |
382 | TextDocumentPositionParams { | 380 | TextDocumentPositionParams { |
@@ -407,5 +405,6 @@ fn main() {{}} | |||
407 | } | 405 | } |
408 | }), | 406 | }), |
409 | ); | 407 | ); |
410 | eprintln!("handled: {:?}", start.elapsed()); | 408 | let elapsed = start.elapsed(); |
409 | assert!(elapsed.as_millis() < 2000, "typing enter took {:?}", elapsed); | ||
411 | } | 410 | } |