From 4fd014a1e167f2e11d6617ad970b5e09b045b539 Mon Sep 17 00:00:00 2001 From: Ville Vesilehto Date: Tue, 16 Dec 2025 05:31:19 +0200 Subject: [PATCH] fix(test): prevent data race in TestReadme (#7769) Replace "reload 2s" with "quic" in quicReloadCorefile to avoid spawning a background goroutine that reads dnsserver.Port while TestReadme modifies it. The test TestQUICReloadDoesNotPanic still verifies the QUIC reload panic fix via explicit inst.Restart() call. Signed-off-by: Ville Vesilehto --- test/quic_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/quic_test.go b/test/quic_test.go index 1027c31d9..6bb1796fc 100644 --- a/test/quic_test.go +++ b/test/quic_test.go @@ -26,7 +26,7 @@ var quicCorefile = `quic://.:0 { var quicReloadCorefile = `quic://.:0 { tls ../plugin/tls/test_cert.pem ../plugin/tls/test_key.pem ../plugin/tls/test_ca.pem whoami - reload 2s + quic }` // Corefile with custom stream limits