This commit is contained in:
pat-s 2025-01-11 00:27:25 +01:00
parent d60607e8d8
commit 87b6b50338
No known key found for this signature in database
GPG key ID: 3C6318841EF78925

View file

@ -44,7 +44,7 @@ func TestRunnerCanceledState(t *testing.T) {
Running: 0,
}
r := NewRunner(peer, filter, hostname, state, &backend)
ctx, cancel := context.WithCancel(context.Background())
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Millisecond)
workflow := &rpc.Workflow{
ID: "1",