Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Storage] [DataMovement ] Rerecord Directory Copy Blob from/to Files tests #47068

Merged
merged 1 commit into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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