Skip to content

Commit ec47a84

Browse files
committed
Remove testing.T.Context() as it's added in go1.24
1 parent ecf1e90 commit ec47a84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/internal/updatemanager/manager_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func Test_LatestVersion(t *testing.T) {
6767
return nil
6868
}
6969
m.currentVersion = c.daemonVersion
70-
m.Start(t.Context())
70+
m.Start(context.Background())
7171
m.SetVersion("latest")
7272
var triggeredInit bool
7373
select {
@@ -179,7 +179,7 @@ func Test_HandleUpdate(t *testing.T) {
179179
}
180180

181181
m.currentVersion = c.daemonVersion
182-
m.Start(t.Context())
182+
m.Start(context.Background())
183183
m.SetVersion(c.expectedVersion)
184184

185185
var updateTriggered bool

0 commit comments

Comments
 (0)