From 625a3b99add26ff766128bae28c718271aa16443 Mon Sep 17 00:00:00 2001 From: rameel Date: Mon, 16 Nov 2026 21:57:58 +0500 Subject: [PATCH] fs/azure: isolate the cross-storage copy test between parallel runs The net6.0 and net8.0 runs shared the temp-storage container and the /1111.txt blob, so parallel runs failed with 412 ConditionNotMet or read each other's content. Use a unique container name, as the Amazon tests do. --- .../WritableAzureFileSystemTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Ramstack.FileSystem.Azure.Tests/WritableAzureFileSystemTests.cs b/tests/Ramstack.FileSystem.Azure.Tests/WritableAzureFileSystemTests.cs index 167350a..8cdc640 100644 --- a/tests/Ramstack.FileSystem.Azure.Tests/WritableAzureFileSystemTests.cs +++ b/tests/Ramstack.FileSystem.Azure.Tests/WritableAzureFileSystemTests.cs @@ -75,7 +75,7 @@ await reader.ReadToEndAsync(), [Test] public async Task File_CopyTo_File_DifferentStorages() { - using var fs1 = CreateFileSystem("temp-storage"); + using var fs1 = CreateFileSystem(Guid.NewGuid().ToString("N")); using var fs2 = GetFileSystem(); await fs1.CreateContainerAsync();