Skip to content

test/dns: add AAAA tests#1515

Merged
sreimers merged 4 commits intobaresip:mainfrom
cspiel1:test_dns_aaaa
Feb 17, 2026
Merged

test/dns: add AAAA tests#1515
sreimers merged 4 commits intobaresip:mainfrom
cspiel1:test_dns_aaaa

Conversation

@cspiel1
Copy link
Collaborator

@cspiel1 cspiel1 commented Feb 16, 2026

Tests also AAAA dns queries.

@alfredh I tried to move the dns test from integration to regular and got a lot of troubles with mem stat checks. For now I'd like to concentrate on the dns failures mentioned here #1512.

Next step would be to add a test that sends A+AAAA queries in parallel, similar to src/sip/request.c.

@alfredh
Copy link
Contributor

alfredh commented Feb 16, 2026

Thanks for your great work,

it would also be nice to have some simple A/AAAA tests in the regular section.

The regular section has to use the mock DNS server and not the local one via getaddrinfo,
because we cannot add fake entries to it.

@cspiel1
Copy link
Collaborator Author

cspiel1 commented Feb 16, 2026

Thanks for your great work,

it would also be nice to have some simple A/AAAA tests in the regular section.

The regular section has to use the mock DNS server and not the local one via getaddrinfo, because we cannot add fake entries to it.

You're welcome. I'll try some simple tests in the regular section tomorrow.

- adds test_dns_reg with some simple query and DNS cache tests
- moves the cleanup tests to the regular section
@alfredh
Copy link
Contributor

alfredh commented Feb 17, 2026

this looks very good

@cspiel1
Copy link
Collaborator Author

cspiel1 commented Feb 17, 2026

This is ready.

@sreimers sreimers changed the title test: dns - add AAAA tests test/dns: add AAAA tests Feb 17, 2026
@sreimers sreimers merged commit 5db3ee1 into baresip:main Feb 17, 2026
40 checks passed
@cspiel1 cspiel1 deleted the test_dns_aaaa branch February 17, 2026 11:53
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.

4 participants

Comments