@@ -18,9 +18,9 @@ import { expect } from "chai";
18
18
import { LanguageClientManager } from "../../../src/sourcekit-lsp/LanguageClientManager" ;
19
19
import { testAssetUri } from "../../fixtures" ;
20
20
import { activateExtensionForSuite , buildProject } from "../utilities/testutilities" ;
21
- import { touchDocument , waitForClientState } from "../utilities/lsputilities" ;
21
+ import { touchDocument , waitForClientState , waitForIndex } from "../utilities/lsputilities" ;
22
22
23
- suite ( "Language Client Integration Suite @slow" , function ( ) {
23
+ suite . only ( "Language Client Integration Suite @slow" , function ( ) {
24
24
this . timeout ( 3 * 60 * 1000 ) ;
25
25
26
26
let clientManager : LanguageClientManager ;
@@ -43,11 +43,13 @@ suite("Language Client Integration Suite @slow", function () {
43
43
const position = new vscode . Position ( 2 , 6 ) ;
44
44
45
45
setup ( async ( ) => {
46
+ this . timeout ( 60 * 1000 ) ;
46
47
// Focus on the file of interest
47
48
await vscode . window . showTextDocument ( uri ) ;
48
49
await clientManager . restart ( ) ;
49
50
await waitForClientState ( clientManager , langclient . State . Running ) ;
50
51
await touchDocument ( clientManager , uri ) ;
52
+ await waitForIndex ( clientManager ) ;
51
53
} ) ;
52
54
53
55
test ( "Goto Definition" , async function ( ) {
0 commit comments