From 41a51df724898502822b95744ab3c069ad5550ed Mon Sep 17 00:00:00 2001 From: Paul Johnson Date: Fri, 20 Aug 2021 16:31:53 +0100 Subject: [PATCH] Shutdown (localdb)\UmbracoTests when we're done with it --- src/Umbraco.Tests.Integration/Testing/LocalDbTestDatabase.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Umbraco.Tests.Integration/Testing/LocalDbTestDatabase.cs b/src/Umbraco.Tests.Integration/Testing/LocalDbTestDatabase.cs index 2eec1938c3..3eef3c201f 100644 --- a/src/Umbraco.Tests.Integration/Testing/LocalDbTestDatabase.cs +++ b/src/Umbraco.Tests.Integration/Testing/LocalDbTestDatabase.cs @@ -126,6 +126,8 @@ namespace Umbraco.Cms.Tests.Integration.Testing } } + _localDb.StopInstance(InstanceName); + foreach (string file in Directory.EnumerateFiles(s_filesPath)) { if (file.EndsWith(".mdf") == false && file.EndsWith(".ldf") == false)