From fa8bc2ed8d96ed0f1c78c7fc11f5f4891ff5c226 Mon Sep 17 00:00:00 2001 From: Mateusz Front Date: Mon, 18 Mar 2024 15:16:58 +0100 Subject: [PATCH] fix resource guard test --- 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