zephyr/tests/net
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
..
6lo tests: net: 6Lo: Add test criterion HDR diff 2019-07-25 15:19:28 +03:00
all
arp tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00
buf tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00
checksum_offload tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00
context tests: net: context: Let the net_context cb to run first 2019-08-05 16:25:18 +03:00
dhcpv4 tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00
ethernet_mgmt tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00
icmpv6 tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00
ieee802154 boards: remove quarl_se_c1000 2019-07-29 21:30:25 -07:00
iface
ip-addr
ipv6 tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00
ipv6_fragment tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00
lib boards: remove arduino 101 and related boards 2019-07-29 21:30:25 -07:00
mgmt tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00
mld tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00
neighbor tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00
net_pkt tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00
ppp/driver tests: net: ppp: Add unit tests for PPP driver 2019-07-29 10:24:46 +03:00
promiscuous tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00
ptp/clock
route tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00
socket tests: net: txtime: Add tests for SO_TXTIME and SCM_TXTIME 2019-07-24 10:17:16 +03:00
tcp tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00
traffic_class tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00
trickle
tx_timestamp
udp tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00
utils tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00
vlan tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00