From 8ee15bb034c91de47e58d9d3ded34f9209c6486e Mon Sep 17 00:00:00 2001 From: Tobias Gesellchen Date: Thu, 14 May 2026 13:46:33 +0200 Subject: [PATCH] test(handlers): use deterministic IP in BMX registry test soundtouch.local relied on mDNS resolution, which works on developer macOS but not in CI/Linux. With the new server_url validation, an unresolvable hostname now correctly causes DNS to refuse to start -- which flips dnsEnabled to false and made the test fail honestly instead of passing while DNS was silently broken. Switch the fixture to 127.0.0.1 so the test exercises the DNS-enabled path everywhere. Co-Authored-By: Claude Opus 4.7 (1M context) --- pkg/service/handlers/bmx_registry_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/service/handlers/bmx_registry_test.go b/pkg/service/handlers/bmx_registry_test.go index b3b73a3..14a6357 100644 --- a/pkg/service/handlers/bmx_registry_test.go +++ b/pkg/service/handlers/bmx_registry_test.go @@ -21,7 +21,7 @@ func TestHandleBMXRegistry_DNSDependent(t *testing.T) { ds := datastore.NewDataStore(tempDir) _ = ds.Initialize() - localURL := "https://soundtouch.local" + localURL := "https://127.0.0.1" server := NewServer(ds, nil, localURL, false, false, false) t.Run("DNSEnabled_UsesBoseURL", func(t *testing.T) {