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

[Test Failure] ScheduleMessageLogsEvents #15923

Closed
pakrym opened this issue Oct 13, 2020 · 0 comments
Closed

[Test Failure] ScheduleMessageLogsEvents #15923

pakrym opened this issue Oct 13, 2020 · 0 comments
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. Service Bus

Comments

@pakrym
Copy link
Contributor

pakrym commented Oct 13, 2020

https://dev.azure.com/azure-sdk/public/_build/results?buildId=571598&view=ms.vss-test-web.build-test-results-tab&runId=14076554&resultId=110518&paneView=debug

Moq.MockException :
Expected invocation on the mock once, but was 0 times: log => log.ScheduleMessagesStart("queueName-3beb8a45-84a5-4e18-ab58-3ea1acf9ead2", 1, "10/13/2020 02:17:28 +00:00 +00:00")
No setups configured.

Performed invocations:
ServiceBusEventSource.ScheduleMessagesStart("queueName-3beb8a45-84a5-4e18-ab58-3ea1acf9ead2", 1, "10/13/2020 02:17:28 +00:00")
ServiceBusEventSource.ScheduleMessagesComplete("queueName-3beb8a45-84a5-4e18-ab58-3ea1acf9ead2")


Stack trace
   at Moq.Mock.VerifyCalls(Mock targetMock, InvocationShape expectation, LambdaExpression expression, Times times, String failMessage)
   at Moq.Mock.VerifyVoid(Mock mock, LambdaExpression expression, Times times, String failMessage)
   at Moq.Mock`1.Verify(Expression`1 expression, Func`1 times)
   at Azure.Messaging.ServiceBus.Tests.Diagnostics.EventSourceTests.<ScheduleMessageLogsEvents>d__4.MoveNext() in D:\a\1\s\sdk\servicebus\Azure.Messaging.ServiceBus\tests\Diagnostics\EventSourceTests.cs:line 193
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
   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.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)

@pakrym pakrym added Service Bus Client This issue points to a problem in the data-plane of the library. labels Oct 13, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Mar 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. Service Bus
Projects
None yet
Development

No branches or pull requests

2 participants