Skip to content

cunit-net-acd: wait for the interface's address to be probed - #2283

Merged
Kalamatee merged 1 commit into
aros-development-team:masterfrom
JJDSNT:review/cunit-acd-own-ready
Nov 15, 2026
Merged

Kalamatee merged 1 commit into
aros-development-team:masterfrom
JJDSNT:review/cunit-acd-own-ready

Conversation

@JJDSNT

@JJDSNT JJDSNT commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

testACD_OWN_READY took the interface's own address as probed by the time it ran. As the first program after the stack starts it is not yet - its probes take up to 7 s (PROBE_WAIT and three probes, RFC 5227) - and the test failed with the address still tentative; 12 s later it passed. It showed up in a full run where cunit-net-acd comes first, after startnet and a 6 s wait. The test now waits, up to 10 s, for the probes to end (settle(), as the other tests in the file do), and says how long it waited.

Run straight after startnet: it failed before; now 8 of 8, the address ready after 3.7-4.5 s more. Test only.

testACD_OWN_READY took the interface's own address as probed by the time
it ran. Run as the first program after the stack starts, it is not yet:
its probes take up to 7 s (PROBE_WAIT and three probes, RFC 5227), and
the test failed with the address still tentative; 12 s later it passed.
It now waits, up to 10 s, for the probes to end (settle(), as the other
tests do), and says how long it waited.

Run straight after startnet: it failed before; now 8 of 8, the address
ready after 3.7-4.5 s more.
@Kalamatee
Kalamatee merged commit 3cd88fe into aros-development-team:master Nov 15, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants