semihalev / sdns

A high-performance, recursive DNS resolver server with DNSSEC support, focused on preserving privacy.
https://sdns.dev
MIT License
962 stars 57 forks source link

[BUG] - Test_ClientTimeout failed #279

Closed Dexus closed 4 months ago

Dexus commented 7 months ago

Description

=== RUN Test_ClientTimeout client_test.go:29: Error Trace: /root/sdns/middleware/resolver/client_test.go:29 Error: An error is expected but got nil. Test: Test_ClientTimeout --- FAIL: Test_ClientTimeout (0.01s)

Reproduction steps

build from source and use makefile:

make

on tests it failing

sdns version

current source

Logs

No response

OS

Linux

Additional context

No response

semihalev commented 7 months ago

This line try connection timeout test on 127.1.0.255:53 but probably a dns server response from this address on your test environment. I will change the test server.

semihalev commented 4 months ago

Thanks for your report. This is fixed in v1.3.7