mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-04-15 01:41:56 +00:00
Fixing test
This commit is contained in:
@@ -138,6 +138,8 @@ func TestFifoDependencies(t *testing.T) {
|
||||
return
|
||||
}
|
||||
|
||||
q.Done(noContext, got.ID)
|
||||
|
||||
got, _ = q.Poll(noContext, func(*Task) bool { return true })
|
||||
if got != task2 {
|
||||
t.Errorf("expect task2 returned from queue")
|
||||
|
||||
Reference in New Issue
Block a user