[PATCH v4 46/47] RFC: test/py: Deal with timeouts
Simon Glass
sjg at chromium.org
Sat Mar 15 15:26:59 CET 2025
Hi Tom,
On Fri, 14 Mar 2025 at 16:15, Tom Rini <trini at konsulko.com> wrote:
>
> On Fri, Mar 14, 2025 at 02:44:00PM +0000, Simon Glass wrote:
> > Hi Tom,
> >
> > On Fri, 7 Mar 2025 at 14:24, Tom Rini <trini at konsulko.com> wrote:
> > >
> > > On Thu, Mar 06, 2025 at 09:04:13AM -0700, Simon Glass wrote:
> > >
> > > > The distro test takes a little longer to shut down and restart, so
> > > > add more time to this operation.
> > >
> > > In the test, make use of u_boot_console.temporary_timeout(val) ?
> >
> > ensure_spawned() actually sets up the initial timeout, so I don't see
> > how I can do this in the test. It is immediately overwritten by this
> > function.
>
> We use this in a number of other tests today, so it either doesn't
> actually work anywhere and we luck out, or you need to look harder at
> how your new test is written? It would would be good to know that it
> doesn't actually work if that's the case..
Hmmm it turns out that the problem was one of timing, where an arrow
key is seen as an escape. I'll send a v5.
Regards,
Simon
More information about the U-Boot
mailing list