zephyr/tests/net
Paul Sokolovsky 92962ddc5e tests: socket: poll, select: Fix non-blocking timing tests
As written originally, the tests assumed that if k_uptime_get_32()
returns times in milliseconds, that it also has millisecond
resolution. That however doesn't have to be the case, and indeed,
default timer interrupt period used by Zephyr is 10ms, and so system
time is incremented in such units. So, instead of "<= 1" tests to
account for timing increment, use "<= FUZZ".

For blocking tests, increase the timeout from previously used 10ms,
so we can reliably tests delays under the conditions described.

Also, enable CONFIG_QEMU_TICKLESS_WORKAROUND. Most other
timing-related tests have this enabled, and it may affect
stability of QEMU testing too.

Fixes: #12994

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2019-02-04 15:31:10 -05:00
..
6lo net/ipv6: Switch RA msg handler to new net_pkt API 2019-02-01 14:34:38 +02:00
all net: http: Remove HTTP client and server APIs 2019-01-25 11:21:20 -05:00
arp net: pkt: convert remaining users of ref to atomic_ref 2019-01-29 09:22:14 +02:00
buf cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
checksum_offload net/context: Make recv_cb providing the ip and protocol headers 2019-02-01 14:34:38 +02:00
context net/context: Make recv_cb providing the ip and protocol headers 2019-02-01 14:34:38 +02:00
dhcpv4 cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
ethernet_mgmt cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
icmpv6 tests/icmpv6: Real packet length must be given 2019-02-01 14:34:38 +02:00
ieee802154 cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
iface cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
ip-addr cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
ipv6 net/context: Make recv_cb providing the ip and protocol headers 2019-02-01 14:34:38 +02:00
ipv6_fragment net/ip: Let's make public the 2 utility unions for ip/proto headers 2019-02-01 14:34:38 +02:00
lib tests: net: dns: Temporarily disable IPv6 query test 2019-01-31 08:53:58 -05:00
mgmt cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
mld net/ipv6: Switch MLD join, leave and report to new net_pkt API 2019-02-01 14:34:38 +02:00
neighbor cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
net_pkt tests: net_pkt: More net_frag_linearize tests 2019-01-08 11:06:56 +02:00
net_pkt_new net/pkt: Allocate relevant size on AF_UNSPEC 2019-02-04 17:15:52 +02:00
promiscuous cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
ptp/clock net: app: Remove net-app API files 2019-02-01 12:29:21 +02:00
route cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
socket tests: socket: poll, select: Fix non-blocking timing tests 2019-02-04 15:31:10 -05:00
tcp net/ip: Let's make public the 2 utility unions for ip/proto headers 2019-02-01 14:34:38 +02:00
traffic_class net/context: Make recv_cb providing the ip and protocol headers 2019-02-01 14:34:38 +02:00
trickle cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
tx_timestamp net: app: Remove net-app API files 2019-02-01 12:29:21 +02:00
udp net/ip: Let's make public the 2 utility unions for ip/proto headers 2019-02-01 14:34:38 +02:00
utils cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
vlan net: app: Remove net-app API files 2019-02-01 12:29:21 +02:00