mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-03-28 15:15:32 +00:00
linter
This commit is contained in:
parent
d60607e8d8
commit
87b6b50338
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue