vscode-csharp icon indicating copy to clipboard operation
vscode-csharp copied to clipboard

Token cancellation requested error in vscode Razor integraiton tests when inserting text into a document

Open alexgav opened this issue 5 months ago • 2 comments

Trying to insert text into a Razor document during Razor integration tests results in an error in razorDocumentSynchronizer.

Image

So far I've seen it only in Razor integraiton tests and I haven't been able to figure out the exact root cause as the issue is intermittent and not easy to hit under debugger.

Incidentally it was failing our Razor integration completion tests since they were the only ones modifying the document. I removed document modification from those tests for now to make them reliable and filing this separate issue to investigate further.

alexgav avatar May 19 '25 19:05 alexgav