Skip to content

Commit 0103e3a

Browse files
author
Kyle Kearney
committed
General Block Device Test: Expand Thread Stack
The addition of trace logging during greentea tests pushes the multithreaded read-write test beyond the limits of the stack it allocates for its threads. The increase of 128 bytes was chosen by experimentation.
1 parent 96cfc73 commit 0103e3a

File tree

1 file changed

+1
-1
lines changed
  • features/storage/TESTS/blockdevice/general_block_device

1 file changed

+1
-1
lines changed

features/storage/TESTS/blockdevice/general_block_device/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ using namespace utest::v1;
6464
#define TEST_BLOCK_COUNT 10
6565
#define TEST_ERROR_MASK 16
6666
#define TEST_NUM_OF_THREADS 5
67-
#define TEST_THREAD_STACK_SIZE 1024
67+
#define TEST_THREAD_STACK_SIZE 1152
6868

6969
uint8_t num_of_sectors = TEST_NUM_OF_THREADS * TEST_BLOCK_COUNT;
7070
uint32_t sectors_addr[TEST_NUM_OF_THREADS * TEST_BLOCK_COUNT] = {0};

0 commit comments

Comments
 (0)