zephyr/tests
Jukka Rissanen fc79a789c7 tests: net: context: Let the net_context cb to run first
An issue was seen after changes introduced in #17933.
The net_context callback was run after we checked that it
was run ok. This test failed of course in that case. Simple
solution is to k_yield() which will make sure that the
callback gets called before we continue. This works for this
test as our threads have suitably selected priorities.
There is also no need to use K_NO_WAIT here so replacing the
timeout with K_FOREVER.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2019-08-05 16:25:18 +03:00
..
application_development
arch
benchmarks
bluetooth Bluetooth: Host: Print error codes in hex 2019-08-05 12:18:17 +02:00
boards
booting/stub
cmsis_rtos_v1
cmsis_rtos_v2 tests/cmsis_rtos_v2: exclude m2gl025_miv due to tick rate conflict 2019-08-02 12:47:41 +02:00
crypto
drivers
kernel x86: use per-thread page tables 2019-08-05 13:25:50 +02:00
lib
misc
net tests: net: context: Let the net_context cb to run first 2019-08-05 16:25:18 +03:00
posix
shell
subsys
unit
ztest