mirror of
https://github.com/icsharpcode/ILSpy.git
synced 2026-10-12 02:15:58 +00:00
Merge pull request #4191 from icsharpcode/fix/search-list-settle-test-sync
Stabilize search list settle test
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user