feat: upload audio, get a private Swedish transcript, discuss it (#33, ADR-033) #39
@@ -131,6 +131,7 @@ func TestWorkerProgress_AShutdownIsNotRecordedAsAFailedStep(t *testing.T) {
|
||||
func TestWorkerProgress_TheHeartbeatBeatsWhileAnEngineCallIsStuckAndStopsWhenTheJobEnds(t *testing.T) {
|
||||
r := newWRig(t, time.Minute)
|
||||
r.tr.block = make(chan struct{})
|
||||
r.st.beatDelay = 20 * time.Millisecond
|
||||
w := newProgressWorker(t, r, r.tr, uploads.WithHeartbeat(5*time.Millisecond, time.Hour))
|
||||
done := make(chan struct{})
|
||||
go func() { defer close(done); w.Process(context.Background(), r.spool(t, "a")) }()
|
||||
|
||||
Reference in New Issue
Block a user