tests: net: increase stack size

fixes issues with tests/net when code coverage is enabled in qemu_x86

Signed-off-by: Cami Carballo <cami.carballo@intel.com>
This commit is contained in:
Cami Carballo 2019-07-26 10:59:16 -04:00 committed by Andrew Boie
parent b08adcdd7e
commit 7b3cd7d371
3 changed files with 2 additions and 2 deletions

View file

@ -25,6 +25,7 @@ if NET_MGMT_EVENT
config NET_MGMT_EVENT_STACK_SIZE
int "Stack size for the inner thread handling event callbacks"
default 2048 if COVERAGE_GCOV
default 768
help
Set the internal stack size for NM to run registered callbacks

View file

@ -14,6 +14,7 @@ config ZTEST
config ZTEST_STACKSIZE
int "Test function thread stack size"
depends on ZTEST
default 2048 if COVERAGE_GCOV
default 1024
config ZTEST_FAIL_FAST

View file

@ -9,7 +9,6 @@ CONFIG_DNS_NUM_CONCUR_QUERIES=1
CONFIG_NET_LOG=y
CONFIG_NET_MGMT=y
CONFIG_NET_MGMT_EVENT=y
CONFIG_NET_MGMT_EVENT_STACK_SIZE=768
CONFIG_NET_MGMT_EVENT_THREAD_PRIO=7
CONFIG_NET_MGMT_EVENT_QUEUE_SIZE=2
CONFIG_NET_IPV4=y
@ -17,4 +16,3 @@ CONFIG_NET_IPV6=y
CONFIG_NET_ARP=n
CONFIG_PRINTK=y
CONFIG_ZTEST=y
CONFIG_MAIN_STACK_SIZE=1344