Skip to content

Commit 7e612bb

Browse files
committed
[utest][testcases] Shorten test time
1 parent 0095153 commit 7e612bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/utest/testcases/kernel/mem_tc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ struct mem_alloc_head
300300

301301
#define MEM_RANG_ALLOC_BLK_MIN 2
302302
#define MEM_RANG_ALLOC_BLK_MAX 5
303-
#define MEM_RANG_ALLOC_TEST_TIME 10
303+
#define MEM_RANG_ALLOC_TEST_TIME 5
304304

305305
static void mem_alloc_test(void)
306306
{

examples/utest/testcases/kernel/slab_tc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ struct slab_alloc_head
4242

4343
#define SLAB_RANG_ALLOC_BLK_MIN 2
4444
#define SLAB_RANG_ALLOC_BLK_MAX 5
45-
#define SLAB_RANG_ALLOC_TEST_TIME 10
45+
#define SLAB_RANG_ALLOC_TEST_TIME 5
4646

4747
static void slab_alloc_test(void)
4848
{

0 commit comments

Comments
 (0)