From accecfece17ed27a1862f3111e2570777f53a6f8 Mon Sep 17 00:00:00 2001 From: Andre Hofmeister <9199345+HofmeisterAn@users.noreply.github.com> Date: Tue, 18 Oct 2022 15:05:01 +0200 Subject: [PATCH] fix: Create temp directory --- .../Unit/Containers/Unix/TestcontainersContainerTest.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/Testcontainers.Tests/Unit/Containers/Unix/TestcontainersContainerTest.cs b/tests/Testcontainers.Tests/Unit/Containers/Unix/TestcontainersContainerTest.cs index 9adeca559..e4b621794 100644 --- a/tests/Testcontainers.Tests/Unit/Containers/Unix/TestcontainersContainerTest.cs +++ b/tests/Testcontainers.Tests/Unit/Containers/Unix/TestcontainersContainerTest.cs @@ -19,6 +19,11 @@ public static class TestcontainersContainerTest { private static readonly string TempPath = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString("D")); + static TestcontainersContainerTest() + { + _ = Directory.CreateDirectory(TempPath); + } + [Collection(nameof(Testcontainers))] public sealed class WithConfiguration {