Skip to content

Add a test with network pinning#9607

Merged
yschimke merged 5 commits into
lysine-dev:masterfrom
yschimke:netpin
Jul 26, 2026
Merged

Add a test with network pinning#9607
yschimke merged 5 commits into
lysine-dev:masterfrom
yschimke:netpin

Conversation

@yschimke

@yschimke yschimke commented Jul 26, 2026

Copy link
Copy Markdown
Collaborator

Applies the proposed approach from #8376

And uses it test only to confirm we can use AndroidDns with a network on API 37.

These should probably move out of tests.

yschimke added 4 commits July 26, 2026 14:46
Implicitly tests the ECH code paths, but not ECH servers on API 37.
* Add local only EchTests taken from curl
@yschimke
yschimke requested a review from swankjesse July 26, 2026 14:14
@yschimke
yschimke marked this pull request as draft July 26, 2026 14:32
@yschimke

Copy link
Copy Markdown
Collaborator Author

Wait for #9608 to land

@yschimke
yschimke marked this pull request as ready for review July 26, 2026 14:45
* consulted by the platform from API 37. Below that there's nothing to gain from the extra query,
* so [AndroidNetworkDns] does the plain address lookup.
*/
private fun dnsForNetwork(network: Network): Dns =

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Off topic, but I think we structure AndroidNetworkDns very carefully, stuff like this might not be necessary

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, happy to get some guidance on how to structure it, and I'll hold us to correct on Android.

@yschimke
yschimke merged commit e005148 into lysine-dev:master Jul 26, 2026
40 of 44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants