Flaky test: progress report should always send begin and end message if we start a progress
Opened this issue · 3 comments
soulomoon commented
Ensure progress begin and end to be send during test if we start a progress.
A lot of test rely on it. Example #4627
Setting optProgressStartDelay = 0 and optProgressUpdateDelay = 0 is not enough. The progress report might still ends before it get the chance to sen progress begin and end message.
soulomoon commented
The main delay happens in sending the SMethod_WindowWorkDoneProgressCreate and waiting for the callback.
soulomoon commented
Easy workaround for this is that do not wait for the callback in the test with a dummy version of test reporting
soulomoon commented
Perhaps we should add an option skip the create token callback in lsp package.