Skip to content

Commit

Permalink
Rerecord Directory Copy Blob to Files vice versa tests (#47068)
Browse files Browse the repository at this point in the history
  • Loading branch information
amnguye authored Nov 11, 2024
1 parent 9eee27e commit 797963b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/storage/Azure.Storage.DataMovement.Files.Shares",
"Tag": "net/storage/Azure.Storage.DataMovement.Files.Shares_68ba386e23"
"Tag": "net/storage/Azure.Storage.DataMovement.Files.Shares_9c671b78d9"
}
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ await VerifyResultsAsync(
destinationPrefix: destinationPrefix);
}

[Test]
[RecordedTest]
[TestCase(0, 10)]
[TestCase(DataMovementTestConstants.KB / 2, 10)]
[TestCase(DataMovementTestConstants.KB, 10)]
Expand Down Expand Up @@ -354,7 +354,7 @@ await CopyDirectoryAndVerifyAsync(
waitTimeInSec).ConfigureAwait(false);
}

[Test]
[RecordedTest]
public async Task DirectoryToDirectory_EmptyFolder()
{
// Arrange
Expand Down Expand Up @@ -394,7 +394,7 @@ await TestTransferWithTimeout.WaitForCompletionAsync(
testEventsRaised.AssertUnexpectedFailureCheck();
}

[Test]
[RecordedTest]
public async Task DirectoryToDirectory_SingleFile()
{
// Arrange
Expand All @@ -418,7 +418,7 @@ await CopyDirectoryAndVerifyAsync(
itemTransferCount: 1).ConfigureAwait(false);
}

[Test]
[RecordedTest]
public async Task DirectoryToDirectory_ManySubDirectories()
{
// Arrange
Expand Down Expand Up @@ -452,7 +452,7 @@ await CopyDirectoryAndVerifyAsync(
itemTransferCount: 3).ConfigureAwait(false);
}

[Test]
[RecordedTest]
[TestCase(1)]
[TestCase(2)]
[TestCase(3)]
Expand Down Expand Up @@ -486,7 +486,7 @@ await CopyDirectoryAndVerifyAsync(
itemTransferCount: level).ConfigureAwait(false);
}

[Test]
[RecordedTest]
public async Task DirectoryToDirectory_OverwriteExists()
{
// Arrange
Expand Down Expand Up @@ -535,7 +535,7 @@ await CopyDirectoryAndVerifyAsync(
options: options).ConfigureAwait(false);
}

[Test]
[RecordedTest]
public async Task DirectoryToDirectory_OverwriteNotExists()
{
// Arrange
Expand Down Expand Up @@ -580,7 +580,7 @@ await CopyDirectoryAndVerifyAsync(
options: options).ConfigureAwait(false);
}

[Test]
[RecordedTest]
public virtual async Task DirectoryToDirectory_OAuth()
{
// Arrange
Expand Down Expand Up @@ -688,7 +688,7 @@ private async Task<DataTransfer> CreateStartTransfer(
options).ConfigureAwait(false);
}

[Test]
[RecordedTest]
public async Task StartTransfer_AwaitCompletion()
{
// Arrange
Expand Down Expand Up @@ -756,7 +756,7 @@ await TestTransferWithTimeout.WaitForCompletionAsync(
Assert.IsTrue(testEventsRaised.FailedEvents.First().Exception.Message.Contains(_expectedOverwriteExceptionMessage));
}

[Test]
[RecordedTest]
public async Task StartTransfer_AwaitCompletion_Skipped()
{
// Arrange
Expand Down Expand Up @@ -793,7 +793,7 @@ await TestTransferWithTimeout.WaitForCompletionAsync(
await testEventsRaised.AssertContainerCompletedWithSkippedCheck(1);
}

[Test]
[RecordedTest]
public async Task StartTransfer_EnsureCompleted()
{
// Arrange
Expand Down Expand Up @@ -862,7 +862,7 @@ public async Task StartTransfer_EnsureCompleted_Failed()
Assert.IsTrue(testEventsRaised.FailedEvents.First().Exception.Message.Contains(_expectedOverwriteExceptionMessage));
}

[Test]
[RecordedTest]
public async Task StartTransfer_EnsureCompleted_Skipped()
{
// Arrange
Expand Down Expand Up @@ -1007,7 +1007,7 @@ await VerifyResultsAsync(
propertiesType);
}

[Test]
[RecordedTest]
[TestCase((int) TransferPropertiesTestType.Default)]
[TestCase((int) TransferPropertiesTestType.Preserve)]
[TestCase((int) TransferPropertiesTestType.NoPreserve)]
Expand Down

0 comments on commit 797963b

Please sign in to comment.