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

Fix ArgumentOutOfRangeException when token has default ExpiresOn value #47040

Merged
merged 3 commits into from
Nov 11, 2024

Merge remote-tracking branch 'upstream/main' into chriss/BTAP-null-Ex…

9232c7a
Select commit
Loading
Failed to load commit list.
Merged

Fix ArgumentOutOfRangeException when token has default ExpiresOn value #47040

Merge remote-tracking branch 'upstream/main' into chriss/BTAP-null-Ex…
9232c7a
Select commit
Loading
Failed to load commit list.
Azure Pipelines / net - core - ci succeeded Nov 11, 2024 in 18m 11s

Build #20241108.13 had test failures

Details

Tests

  • Failed: 1 (0.00%)
  • Passed: 83,982 (86.47%)
  • Other: 13,143 (13.53%)
  • Total: 97,126
Code coverage

  • 19252 of 28832 lines covered (66.77%)

Annotations

Check failure on line 1 in Azure.Storage.DataMovement.Tests.TransferManagerTests.BasicItemTransfer(5,1024,333)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / net - core - ci

Azure.Storage.DataMovement.Tests.TransferManagerTests.BasicItemTransfer(5,1024,333)

Moq.MockException : Mock<StorageResourceItem:814>:
This mock failed verification due to the following unverified invocations:

   StorageResourceItem.CompleteTransferAsync(False, StorageResourceCompleteTransferOptions, CancellationToken)
Raw output
   at Moq.Mock.VerifyNoOtherCalls(Mock mock, HashSet`1 verifiedMocks) in C:\projects\moq4\src\Moq\Mock.cs:line 411
   at Azure.Storage.DataMovement.Tests.TransferManagerTests.BasicItemTransfer(Int32 items, Int32 itemSize, Int32 chunkSize) in D:\a\_work\1\s\sdk\storage\Azure.Storage.DataMovement\tests\TransferManagerTests.cs:line 175
   at Azure.Storage.DataMovement.Tests.TransferManagerTests.BasicItemTransfer(Int32 items, Int32 itemSize, Int32 chunkSize) in D:\a\_work\1\s\sdk\storage\Azure.Storage.DataMovement\tests\TransferManagerTests.cs:line 180
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Execution.SimpleWorkItem.<>c__DisplayClass4_0.<PerformWork>b__0()
   at NUnit.Framework.Internal.ContextUtils.<>c__DisplayClass1_0`1.<DoIsolated>b__0(Object _)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at NUnit.Framework.Internal.ContextUtils.DoIsolated(ContextCallback callback, Object state)
   at NUnit.Framework.Internal.ContextUtils.DoIsolated[T](Func`1 func)
   at NUnit.Framework.Internal.Execution.SimpleWorkItem.PerformWork()