netty5/transport-blockhound-tests
Violeta Georgieva dd89d1b6bf 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:33:26 +01:00
..
src/test Allow blocking calls in UnixResolverDnsServerAddressStreamProvider#parse (#10935) 2021-01-14 18:33:26 +01:00
pom.xml Allow blocking calls in UnixResolverDnsServerAddressStreamProvider#parse (#10935) 2021-01-14 18:33:26 +01:00