curio: Fix tests

This commit is contained in:
Łukasz Magiera 2024-04-16 12:03:41 +02:00 committed by Łukasz Magiera
parent ccf81ecee5
commit 2dd7db20f5

View File

@ -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()
})
}