mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-13 03:37:15 +00:00
The test expects a message sent from another thread 0.2s later to arrive within a 0.5s poll window, which a loaded test host misses. Upstream marks it flaky(reruns=3), but pytest-rerunfailures is not available. Adjust the musl sed to the new end of the -k expression. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
16 lines
962 B
Bash
16 lines
962 B
Bash
#!/bin/sh
|
|
|
|
# test_process_teardown forks a child process while the parent has an
|
|
# active zmq/asyncio context (ZeroMQ's own docs call forking with a live
|
|
# context+IO-thread undefined behavior); under qemu's slower/different
|
|
# scheduling the forked child intermittently dies with exit code 1 instead
|
|
# of exiting 0. Reproduces reliably on target but never locally (isolated,
|
|
# whole-file, or whole-suite runs all pass), consistent with an
|
|
# environment-specific fork-safety issue rather than a logic bug.
|
|
#
|
|
# test_retry_poll expects a message sent 0.2s later by another thread to
|
|
# arrive within a 0.5s poll window; on a loaded host it misses that window.
|
|
# Upstream marks it flaky(reruns=3), which needs pytest-rerunfailures.
|
|
pytest --automake \
|
|
-k 'not test_callable_check and not test_on_recv_basic and not test_on_recv_wake and not test_on_recv_async and not test_on_recv_async_error and not test_curve and not test_process_teardown and not test_retry_poll'
|