Skip to content

Commit 426c92d

Browse files
committed
remove ConfigureAwait in ArchiveFileRegistryTests
1 parent 07e7dfe commit 426c92d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/Microsoft.NET.Build.Containers.IntegrationTests/ArchiveFileRegistryTests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public async Task ArchiveOutputPathIsExistingDirectory_CreatesFileWithRepository
1313
string archiveOutputPath = TestSettings.TestArtifactsDirectory;
1414
string expectedCreatedFilePath = Path.Combine(TestSettings.TestArtifactsDirectory, "repository.tar.gz");
1515

16-
await CreateRegistryAndCallLoadAsync(archiveOutputPath).ConfigureAwait(false);
16+
await CreateRegistryAndCallLoadAsync(archiveOutputPath);
1717

1818
Assert.True(File.Exists(expectedCreatedFilePath));
1919
}
@@ -28,7 +28,7 @@ public async Task ArchiveOutputPathIsNonExistingDirectory_CreatesDirectoryAndFil
2828
"nonexisting" + (includeDirectorySeperatorAtTheEnd ? Path.DirectorySeparatorChar : ""));
2929
string expectedCreatedFilePath = Path.Combine(archiveOutputPath, "repository.tar.gz");
3030

31-
await CreateRegistryAndCallLoadAsync(archiveOutputPath).ConfigureAwait(false);
31+
await CreateRegistryAndCallLoadAsync(archiveOutputPath);
3232

3333
Assert.True(File.Exists(expectedCreatedFilePath));
3434
}
@@ -39,7 +39,7 @@ public async Task ArchiveOutputPathIsCustomFileNameInExistingDirectory_CreatesFi
3939
string archiveOutputPath = Path.Combine(TestSettings.TestArtifactsDirectory, "custom-name.withextension");
4040
string expectedCreatedFilePath = archiveOutputPath;
4141

42-
await CreateRegistryAndCallLoadAsync(archiveOutputPath).ConfigureAwait(false);
42+
await CreateRegistryAndCallLoadAsync(archiveOutputPath);
4343

4444
Assert.True(File.Exists(expectedCreatedFilePath));
4545
}
@@ -50,7 +50,7 @@ public async Task ArchiveOutputPathIsCustomFileNameInNonExistingDirectory_Create
5050
string archiveOutputPath = Path.Combine(TestSettings.TestArtifactsDirectory, $"nonexisting-directory{Path.AltDirectorySeparatorChar}custom-name.withextension");
5151
string expectedCreatedFilePath = archiveOutputPath;
5252

53-
await CreateRegistryAndCallLoadAsync(archiveOutputPath).ConfigureAwait(false);
53+
await CreateRegistryAndCallLoadAsync(archiveOutputPath);
5454

5555
Assert.True(File.Exists(expectedCreatedFilePath));
5656
}
@@ -68,6 +68,6 @@ await registry.LoadAsync(
6868
async (img, srcRef, destRef, stream, token) =>
6969
{
7070
await Task.CompletedTask;
71-
}).ConfigureAwait(false);
71+
});
7272
}
7373
}

0 commit comments

Comments
 (0)