mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 08:56:29 +00:00
Fixing test
This commit is contained in:
parent
001d645471
commit
3f50cafe94
1 changed files with 2 additions and 0 deletions
|
@ -138,6 +138,8 @@ func TestFifoDependencies(t *testing.T) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
q.Done(noContext, got.ID)
|
||||||
|
|
||||||
got, _ = q.Poll(noContext, func(*Task) bool { return true })
|
got, _ = q.Poll(noContext, func(*Task) bool { return true })
|
||||||
if got != task2 {
|
if got != task2 {
|
||||||
t.Errorf("expect task2 returned from queue")
|
t.Errorf("expect task2 returned from queue")
|
||||||
|
|
Loading…
Reference in a new issue