Merge pull request #4191 from icsharpcode/fix/search-list-settle-test-sync

Stabilize search list settle test
This commit is contained in:
Siegfried Pammer
2026-09-29 07:42:46 +02:00
committed by GitHub
+3 -2
View File
@@ -55,8 +55,9 @@ public class SearchListSettleTests
started++;
};
search.SearchTerm = "Object";
await PumpAsync(TimeSpan.FromMilliseconds(400)); // let the typing debounce elapse
started = 0; // count only what the burst causes
await Waiters.WaitForAsync(() => started > 0);
await Waiters.WaitForAsync(() => !search.IsSearching);
started = 0; // Count only what the assembly-list change causes.
return (search, vm.AssemblyTreeModel.AssemblyList!, () => started);
}