[dpdk-dev] [PATCH v2] test/atomic: reduce the number of loops to avoid timeouts
Juraj Linkeš
juraj.linkes at pantheon.tech
Thu Sep 17 11:17:37 CEST 2020
> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Phil Yang
> Sent: Tuesday, July 28, 2020 5:42 AM
> To: david.marchand at redhat.com; dev at dpdk.org
> Cc: aconole at redhat.com; Honnappa.Nagarahalli at arm.com;
> Ruifeng.Wang at arm.com; nd at arm.com
> Subject: [dpdk-dev] [PATCH v2] test/atomic: reduce the number of loops to
> avoid timeouts
>
> Reduce the number of loops to 10K to avoid the meson test timeout warning.
>
> For example:
> $ sudo meson test -C build --suite DPDK:fast-tests / atomic_autotest -t 50 [...]
> 1/1 DPDK:fast-tests / atomic_autotest OK 187.35s
>
> Signed-off-by: Phil Yang <phil.yang at arm.com>
> ---
> v2:
> Split from the original patchset.
>
> app/test/test_atomic.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/app/test/test_atomic.c b/app/test/test_atomic.c index
> 214452e..9b70f44 100644
> --- a/app/test/test_atomic.c
> +++ b/app/test/test_atomic.c
> @@ -99,7 +99,7 @@
>
> #define NUM_ATOMIC_TYPES 3
>
> -#define N 1000000
> +#define N 10000
>
> static rte_atomic16_t a16;
> static rte_atomic32_t a32;
> --
> 2.7.4
>
Reviewed-by: Juraj Linkeš <juraj.linkes at pantheon.tech>
More information about the dev
mailing list