Skip to content

Commit e102d8d

Browse files
committed
fix: fix ui test on linux
1 parent 800480e commit e102d8d

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

test/ui/command.test.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,6 @@ describe("Command Tests", function() {
6060
}
6161

6262
async function waitForLanguageServerReady() {
63-
while (true) {
64-
const language = await statusBar.getCurrentLanguage();
65-
if (language === 'Java') {
66-
break;
67-
}
68-
await sleep(500);
69-
}
7063
// Wait until the language server is no longer indexing.
7164
// Use a max wait to avoid infinite loops if the status UI changes between VS Code versions.
7265
const maxWaitMs = 3 * 60 * 1000;

0 commit comments

Comments
 (0)