[PATCH v3] test/service: fix spurious failures by extending timeout

Morten Brørup mb at smartsharesystems.com
Thu Oct 6 15:27:10 CEST 2022


> From: Harry van Haaren [mailto:harry.van.haaren at intel.com]
> Sent: Thursday, 6 October 2022 14.53
> 
> This commit extends the timeout for service_may_be_active()
> from 100ms to 1000ms. Local testing on a idle and loaded system
> (compiling DPDK with all cores) always completes after 1 ms.
> 
> The wait time for a service-lcore to finish is also extended
> from 100ms to 1000ms.
> 
> The same timeout waiting code was duplicated in two tests, and
> is now refactored to a standalone function avoiding duplication.
> 
> Reported-by: David Marchand <david.marchand at redhat.com>
> Suggested-by: Mattias Ronnblom <mattias.ronnblom at ericsson.com>
> Signed-off-by: Harry van Haaren <harry.van.haaren at intel.com>
> 
> ---

Acked-by: Morten Brørup <mb at smartsharesystems.com>



More information about the dev mailing list