curio: Fix tests
This commit is contained in:
parent
ccf81ecee5
commit
2dd7db20f5
@ -298,6 +298,6 @@ func TestBoredom(t *testing.T) {
|
||||
ht, err := harmonytask.New(cdb, []harmonytask.TaskInterface{boredParty}, "test:1")
|
||||
require.NoError(t, err)
|
||||
require.Eventually(t, func() bool { return ran }, time.Second, time.Millisecond*100)
|
||||
ht.GracefullyTerminate(time.Hour)
|
||||
ht.GracefullyTerminate()
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user