Skip to content

Commit

Permalink
fix resource guard test
Browse files Browse the repository at this point in the history
  • Loading branch information
mat-hek committed Mar 18, 2024
1 parent aef442d commit fa8bc2e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/membrane/resource_guard_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,11 @@ defmodule Membrane.ResourceGuardTest do
assert_receive :bin_guard_triggered

Testing.Pipeline.execute_actions(pipeline,
spec: [child(:element, Element), child(:bin, Bin)]
spec: [child(:element2, Element), child(:bin2, Bin)]
)

assert_pipeline_notified(pipeline, :element2, :ready)
assert_pipeline_notified(pipeline, :bin2, :ready)
assert :ready = Membrane.Pipeline.call(pipeline, :setup_guard)
Membrane.Pipeline.terminate(pipeline)
assert_receive :element_guard_triggered
Expand Down

0 comments on commit fa8bc2e

Please sign in to comment.