netty5/transport-blockhound-tests
Violeta Georgieva 5b699b722c
Allow blocking calls in UnixResolverDnsServerAddressStreamProvider#parse (#10935)
Motivation:

Internally UnixResolverDnsServerAddressStreamProvider#parse calls FileInputStream.read(...)
when parsing the etcResolverFiles.
This will cause the error below when BlockHound is enabled
reactor.blockhound.BlockingOperationError: Blocking call! java.io.FileInputStream#readBytes
     	at java.io.FileInputStream.readBytes(FileInputStream.java)
     	at java.io.FileInputStream.read(FileInputStream.java:255)

Modifications:

- Add whitelist entry to BlockHound configuration
- Add test

Result:

Fixes #10925
2021-01-14 18:27:12 +01:00
..
src/test Allow blocking calls in UnixResolverDnsServerAddressStreamProvider#parse (#10935) 2021-01-14 18:27:12 +01:00
pom.xml Allow blocking calls in UnixResolverDnsServerAddressStreamProvider#parse (#10935) 2021-01-14 18:27:12 +01:00