Skip to content

Commit e717701

Browse files
Don't wait for indexing in config_base test
This slows down the test unnecessarily. For #1554
1 parent 750c8e2 commit e717701

File tree

1 file changed

+0
-3
lines changed
  • testsuite/ada_lsp/config_base

1 file changed

+0
-3
lines changed

testsuite/ada_lsp/config_base/test.py

-3
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,15 @@ async def test1(lsp: ALSLanguageClient) -> None:
6767
)
6868
# Because no project file was set, we need a didOpen to load the project
6969
lsp.didOpenVirtual()
70-
await lsp.awaitIndexingEnd()
7170
assertEqual(await lsp.getObjDirBasename(), "value-from-init")
7271

7372
# Now let's change the settings
7473
lsp.didChangeConfig({"scenarioVariables": {"Var": "new-value"}})
75-
await lsp.awaitIndexingEnd()
7674
assertEqual(await lsp.getObjDirBasename(), "new-value")
7775

7876
# Now we send a null value to revert to the base config which should be the config
7977
# file, not the initialize request.
8078
lsp.didChangeConfig({"scenarioVariables": None})
81-
await lsp.awaitIndexingEnd()
8279
assertEqual(await lsp.getObjDirBasename(), "value-from-config-file")
8380

8481

0 commit comments

Comments
 (0)