From 7638a44fa613f23434318bdf136723aa010e8638 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 13 Oct 2025 04:38:48 +0900 Subject: treewide: parallel tests Most tests already had no global state, however parallel was never enabled. This change enables it for all applicable tests. Signed-off-by: Ophestra --- system/dbus/proc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'system/dbus/proc.go') diff --git a/system/dbus/proc.go b/system/dbus/proc.go index 005b9142..b386eecb 100644 --- a/system/dbus/proc.go +++ b/system/dbus/proc.go @@ -146,7 +146,7 @@ func (p *Proxy) Wait() error { return errors.New("dbus: not started") } - errs := make([]error, 3) + var errs [3]error errs[0] = p.helper.Wait() if errors.Is(errs[0], context.Canceled) && @@ -165,7 +165,7 @@ func (p *Proxy) Wait() error { } } - return errors.Join(errs...) + return errors.Join(errs[:]...) } // Close cancels the context passed to the helper instance attached to xdg-dbus-proxy. -- cgit v1.3.1