From b7e991de5bfa81bff474d07142555df51202640a Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 2 Jun 2025 18:53:28 +0900 Subject: nix: update flake lock Signed-off-by: Ophestra --- dbus/dbus_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dbus') diff --git a/dbus/dbus_test.go b/dbus/dbus_test.go index 206692be..d1a97754 100644 --- a/dbus/dbus_test.go +++ b/dbus/dbus_test.go @@ -90,9 +90,9 @@ func testProxyFinaliseStartWaitCloseString(t *testing.T, useSandbox bool) { t.Run("invalid start", func(t *testing.T) { if !useSandbox { - p = dbus.NewDirect(context.TODO(), nil, nil) + p = dbus.NewDirect(t.Context(), nil, nil) } else { - p = dbus.New(context.TODO(), nil, nil) + p = dbus.New(t.Context(), nil, nil) } if err := p.Start(); !errors.Is(err, syscall.ENOTRECOVERABLE) { @@ -120,7 +120,7 @@ func testProxyFinaliseStartWaitCloseString(t *testing.T, useSandbox bool) { } }) - ctx, cancel := context.WithTimeout(context.TODO(), 5*time.Second) + ctx, cancel := context.WithTimeout(t.Context(), 5*time.Second) defer cancel() if !useSandbox { p = dbus.NewDirect(ctx, final, nil) -- cgit v1.3.1