common:
  depends_on: netif
  min_ram: 32
  tags:
    - net
    - socket
    - userspace
  filter: CONFIG_FULL_LIBC_SUPPORTED
  timeout: 180
  # FIXME: This test fails very frequently on mps2/an385 due to the system
  #        timer stability issues, so keep it disabled until the root cause
  #        is fixed (GitHub issue zephyrproject-rtos/zephyr#48608).
  platform_exclude: mps2/an385
tests:
  net.socket.tcp:
    extra_configs:
      - CONFIG_NET_TC_THREAD_COOPERATIVE=y
  net.socket.tcp.preempt:
    extra_configs:
      - CONFIG_NET_TC_THREAD_PREEMPTIVE=y
      - CONFIG_NET_TCP_RANDOMIZED_RTO=n
