Skip to content

Commit 5e6c86f

Browse files
fix: test parallization issue
1 parent a7367bc commit 5e6c86f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Arius.Core.Tests/Fixture.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using Arius.Core.Services;
44
using Microsoft.Extensions.Configuration;
55
using Microsoft.Extensions.Options;
6+
using System;
67
using System.Text;
78
using Zio;
89
using Zio.FileSystems;
@@ -54,7 +55,7 @@ public class Fixture : FixtureBase
5455

5556
public Fixture()
5657
{
57-
TestRunSourceFolder = new DirectoryInfo(Path.Combine(Path.GetTempPath(), "Arius.Core.Tests", DateTime.Now.ToString("yyyyMMddHHmmss")));
58+
TestRunSourceFolder = new DirectoryInfo(Path.Combine(Path.GetTempPath(), "Arius.Core.Tests", $"{DateTime.Now:yyyyMMddTHHmmss}_{Guid.CreateVersion7()}"));
5859
TestRunSourceFolder.Create();
5960

6061
var pfs = new PhysicalFileSystem();

0 commit comments

Comments
 (0)