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] Re-enable flakey pause/resume E2E tests #47812

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
3b5f925
change tests to LiveOnly
nickliu-msft Jan 13, 2025
61d6cab
use OAuth for blobProvider + add more delay for pause
nickliu-msft Jan 14, 2025
794eaf7
Do not fail test if transfer Completes before Pause is issued in Resu…
nickliu-msft Jan 14, 2025
9c1148f
Merge branch 'main' into feature/storage/ReenableFlakeyPauseResumeTests
nickliu-msft Jan 15, 2025
a79323e
merged main
nickliu-msft Jan 15, 2025
6987059
disable ResumeTransferAsync_Directory_Large
nickliu-msft Jan 15, 2025
3cc09bf
extend cancellation time limit
nickliu-msft Jan 15, 2025
e6673e3
add tiny delay between start transfer and pause
nickliu-msft Jan 15, 2025
c056e8d
decreased delay
nickliu-msft Jan 16, 2025
38ec7f9
accounted for if transfer completes before pause + lowered asserts
nickliu-msft Jan 16, 2025
d2ef55c
small
nickliu-msft Jan 16, 2025
4235a28
adjust cancel time
nickliu-msft Jan 16, 2025
9e1bcc2
added AssertContainerCompleted
nickliu-msft Jan 17, 2025
30f6467
small complete assert
nickliu-msft Jan 18, 2025
e0b3644
Added retry
nickliu-msft Jan 21, 2025
aea32e0
More chunks = hopefully slower transfer
nickliu-msft Jan 21, 2025
e5e782e
reduced delay
nickliu-msft Jan 21, 2025
74df2b5
pause hang fix
nickliu-msft Jan 22, 2025
04aa106
revert
nickliu-msft Jan 22, 2025
f285d1c
Resolved bug where resumed single resource transfer can be enumerated
nickliu-msft Jan 22, 2025
1cb57fa
minor test changes
nickliu-msft Jan 22, 2025
260bc99
do not allow single resource transfers to be enumerated
nickliu-msft Jan 23, 2025
93c2f46
revert
nickliu-msft Jan 23, 2025
25b5832
Merge branch 'main' into feature/storage/ReenableFlakeyPauseResumeTests
nickliu-msft Jan 23, 2025
8206970
merge conflict resolution
nickliu-msft Jan 23, 2025
8e2c825
temp disable ResumeTransferAsync_Options
nickliu-msft Jan 23, 2025
f1972dd
Fix for jobPlanFile length bug
nickliu-msft Jan 24, 2025
de37e57
lowered the cancellation time to 150ms
nickliu-msft Jan 24, 2025
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 @@ -127,7 +127,7 @@ public BlobDestinationCheckpointDetails(

ContentEncoding = contentEncoding;
IsContentEncodingSet = isContentEncodingSet;
ContentEncodingBytes = contentEncoding!= default ? Encoding.UTF8.GetBytes(contentEncoding) : Array.Empty<byte>();
ContentEncodingBytes = contentEncoding != default ? Encoding.UTF8.GetBytes(contentEncoding) : Array.Empty<byte>();

ContentLanguage = contentLanguage;
IsContentLanguageSet = isContentLanguageSet;
Expand Down Expand Up @@ -434,27 +434,27 @@ private int CalculateLength()
// Length is calculated based on whether the property is preserved.
// If the property is preserved, the property's length is added to the total length.
int length = DataMovementBlobConstants.DestinationCheckpointDetails.VariableLengthStartIndex;
if (!IsContentTypeSet)
if (IsContentTypeSet)
{
length += ContentTypeBytes.Length;
}
if (!IsContentEncodingSet)
if (IsContentEncodingSet)
{
length += ContentEncodingBytes.Length;
}
if (!IsContentLanguageSet)
if (IsContentLanguageSet)
{
length += ContentLanguageBytes.Length;
}
if (!IsContentDispositionSet)
if (IsContentDispositionSet)
{
length += ContentDispositionBytes.Length;
}
if (!IsCacheControlSet)
if (IsCacheControlSet)
{
length += CacheControlBytes.Length;
}
if (!IsMetadataSet)
if (IsMetadataSet)
{
length += MetadataBytes.Length;
}
Expand Down
Loading
Loading