mirror of https://github.com/icsharpcode/ILSpy.git
Browse Source
The four `WaitForDecompiledTextAsync` calls in PreviewTabPromotionTests asserted only on dock structure -- SourceNode, IsPreview, tab count, Content reference -- never on decompiled Text. Those values are set synchronously by ShowSelectedNode before DecompileAsync's first await returns, so the ~25s wait was pure dead weight. Worse, the fire-and-forget DecompileAsync kept chewing CPU after the test returned and contended on the ThreadPool with the next test's decompile, which is what pushed the same workload from 12-16s in isolation to 24-28s in full-suite -- right up against the 30s budget. One slow GC pause and PinCurrentTab_Flips timed out at 30.997s exactly.pull/3755/head
2 changed files with 15 additions and 4 deletions
Loading…
Reference in new issue