test: reduce duration for timer racecond testcase

Message ID 1537606637-14211-1-git-send-email-jananeex.m.parthasarathy@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series test: reduce duration for timer racecond testcase |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Jananee Parthasarathy Sept. 22, 2018, 8:57 a.m. UTC
  Reduced test duration for timer_racecond unit test.
This wil help to receive quicker test results.

Signed-off-by: Jananee Parthasarathy <jananeex.m.parthasarathy@intel.com>
---
 test/test/test_timer_racecond.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Jananee Parthasarathy Sept. 22, 2018, 9:09 a.m. UTC | #1
CC Robert as per MAINTAINERS list.

>-----Original Message-----
>From: Parthasarathy, JananeeX M
>Sent: Saturday, September 22, 2018 2:27 PM
>To: dev@dpdk.org
>Cc: Pattan, Reshma <reshma.pattan@intel.com>; Parthasarathy, JananeeX M
><jananeex.m.parthasarathy@intel.com>
>Subject: [PATCH] test: reduce duration for timer racecond testcase
>
>Reduced test duration for timer_racecond unit test.
>This wil help to receive quicker test results.
>
>Signed-off-by: Jananee Parthasarathy <jananeex.m.parthasarathy@intel.com>
>---
> test/test/test_timer_racecond.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/test/test/test_timer_racecond.c b/test/test/test_timer_racecond.c
>index 5e08f06be..d29048eaf 100644
>--- a/test/test/test_timer_racecond.c
>+++ b/test/test/test_timer_racecond.c
>@@ -54,7 +54,7 @@
>
> #define BILLION (1UL << 30)
>
>-#define TEST_DURATION_S 20 /* in seconds */
>+#define TEST_DURATION_S 4 /* in seconds */
> #define N_TIMERS    50
>
> static struct rte_timer timer[N_TIMERS];
>--
>2.13.6

--------------------------------------------------------------
Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263


This e-mail and any attachments may contain confidential material for the sole
use of the intended recipient(s). Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies.
  
Thomas Monjalon Oct. 29, 2018, 2:39 a.m. UTC | #2
22/09/2018 10:57, Jananee Parthasarathy:
> Reduced test duration for timer_racecond unit test.
> This wil help to receive quicker test results.
> 
> Signed-off-by: Jananee Parthasarathy <jananeex.m.parthasarathy@intel.com>

Applied, thanks
  

Patch

diff --git a/test/test/test_timer_racecond.c b/test/test/test_timer_racecond.c
index 5e08f06be..d29048eaf 100644
--- a/test/test/test_timer_racecond.c
+++ b/test/test/test_timer_racecond.c
@@ -54,7 +54,7 @@ 
 
 #define BILLION (1UL << 30)
 
-#define TEST_DURATION_S 20 /* in seconds */
+#define TEST_DURATION_S 4 /* in seconds */
 #define N_TIMERS    50
 
 static struct rte_timer timer[N_TIMERS];