mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-16 01:36:37 +00:00
@@ -72,7 +72,7 @@ func TestRun(t *testing.T) {
|
||||
},
|
||||
} {
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
ctx, cancel := context.WithCancel(t.Context())
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
defer cancel()
|
||||
|
||||
if tc.config != "" {
|
||||
|
||||
Reference in New Issue
Block a user