Skip to content
Permalink
Browse files

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>
  • Loading branch information...
camicarballo authored and andrewboie committed Jul 26, 2019
1 parent b08adcd commit 7b3cd7d37160f6f20eee51a6a2881d1b6945db6e
Showing with 2 additions and 2 deletions.
  1. +1 −0 subsys/net/ip/Kconfig.mgmt
  2. +1 −0 subsys/testsuite/ztest/Kconfig
  3. +0 −2 tests/net/lib/dns_addremove/prj.conf
@@ -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
@@ -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
@@ -9,12 +9,10 @@ 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
CONFIG_NET_IPV6=y
CONFIG_NET_ARP=n
CONFIG_PRINTK=y
CONFIG_ZTEST=y
CONFIG_MAIN_STACK_SIZE=1344

0 comments on commit 7b3cd7d

Please sign in to comment.
You can’t perform that action at this time.