From eca3fdee06c5cbe5e1b52b0cd07403fc10e5d10a Mon Sep 17 00:00:00 2001 From: Harry Felton Date: Sat, 20 Jul 2024 20:39:34 +1200 Subject: [PATCH] test(workflow): ensure media always present 'direct' transcode --- tests/integration/workflow_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/workflow_test.go b/tests/integration/workflow_test.go index 1dca0b2..d61f8c9 100644 --- a/tests/integration/workflow_test.go +++ b/tests/integration/workflow_test.go @@ -509,9 +509,10 @@ func TestWorkflow_Ingestion(t *testing.T) { } } + assert.True(t, seenDirect, "expected direct transcode option to be present") + // Cancel the transcodes for _, transcode := range client.ListActiveTranscodeTasks(t) { - t.Logf("Deleting (cancelling) transcode %v", transcode) resp, err := client.DeleteTranscodeTaskWithResponse(ctx, transcode.Id) assert.NoError(t, err) assert.NotNil(t, resp)