From c79275fccabb93a5e37559ecccb1447bc0a1fea5 Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Wed, 10 Dec 2025 11:25:29 +0100 Subject: [PATCH] Restore `Scope.Dispose` in `AppComponentTest` to ensure proper resource cleanup during test execution. --- .../Helpers/Abstractions/AppComponentTest.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/component/Elsa.Workflows.ComponentTests/Helpers/Abstractions/AppComponentTest.cs b/test/component/Elsa.Workflows.ComponentTests/Helpers/Abstractions/AppComponentTest.cs index ef2baef4e..d69ed62f1 100644 --- a/test/component/Elsa.Workflows.ComponentTests/Helpers/Abstractions/AppComponentTest.cs +++ b/test/component/Elsa.Workflows.ComponentTests/Helpers/Abstractions/AppComponentTest.cs @@ -13,8 +13,6 @@ public abstract class AppComponentTest(App app) : IDisposable void IDisposable.Dispose() { - // Disposing the Scope here and in other places where it is created somehow seems to cause the test runner to hang when running other test projects. - // Let's comment it out for the time being. Scope.Dispose(); OnDispose(); }