Files
craft-libs/crates/dialogs/src
dotCooCoo 99b46c38e6 dialogs tests: the chooser's service trial waits for the listing's wake, not 400 sleeps of 5 ms
an_unavailable_or_forced_pick_opens_the_chooser_and_settles_its_answer
lists a real folder on the service's job threads. It polled for the
chooser's `listed` field for at most 400 passes with a 5 ms sleep after
each, so a listing slower than about 2 s failed the trial. The trial now
gives the service a Wake that sends on a channel. Each pass takes in the
listings that are in, and while the chooser is not listed the trial
blocks until the next listing wakes the app. The 10 s receive timeout
fails the trial when no wake comes.
2026-11-27 18:12:31 -08:00
..
2026-11-18 17:25:03 +00:00