[PATCH v4 46/47] RFC: test/py: Deal with timeouts
Tom Rini
trini at konsulko.com
Fri Mar 14 17:15:18 CET 2025
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..
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250314/83f777b4/attachment.sig>
More information about the U-Boot
mailing list