From 30c0bef125c24de786a3d787029d1b5cb78952dd Mon Sep 17 00:00:00 2001 From: Mateusz Front Date: Wed, 20 Mar 2024 09:50:00 +0100 Subject: [PATCH] fix resource guard test (#778) --- test/membrane/resource_guard_test.exs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/membrane/resource_guard_test.exs b/test/membrane/resource_guard_test.exs index b41ce3479..de70f1aae 100644 --- a/test/membrane/resource_guard_test.exs +++ b/test/membrane/resource_guard_test.exs @@ -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