You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The focus of these changes is to correct a typo for message parameter within
the event source and to attempt to improve reliability for tests that mock
the event source by removing base class delegation for calls.
Copy file name to clipboardExpand all lines: sdk/eventhub/Azure.Messaging.EventHubs.Processor/CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,8 @@
8
8
9
9
### Bugs Fixed
10
10
11
+
- Corrected log message issue causing formatting to fail when developer code for processing events leaks an exception. This obscured the warning that was intended to be emitted to the error handler.
Copy file name to clipboardExpand all lines: sdk/eventhub/Azure.Messaging.EventHubs/CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,8 @@
8
8
9
9
### Bugs Fixed
10
10
11
+
- Corrected log message issue causing formatting to fail when developer code for processing events leaks an exception. This obscured the warning that was intended to be emitted to the error handler.
var mockEventSource =new Mock<EventHubsEventSource>(){CallBase=true};
483
+
var mockEventSource =new Mock<EventHubsEventSource>();
484
484
var mockProcessor =newMock<MinimalProcessorMock>(4,"consumerGroup","namespace","eventHub",Mock.Of<TokenCredential>(),default(EventProcessorOptions)){CallBase=true};
var mockEventSource =new Mock<EventHubsEventSource>(){CallBase=true};
536
+
var mockEventSource =new Mock<EventHubsEventSource>();
537
537
var mockProcessor =newMock<MinimalProcessorMock>(4,"consumerGroup","namespace","eventHub",Mock.Of<TokenCredential>(),default(EventProcessorOptions)){CallBase=true};
538
538
539
539
mockEventSource
@@ -1182,7 +1182,7 @@ public async Task StopProcessingLogsNormalShutdown(bool async)
1182
1182
using var cancellationSource =new CancellationTokenSource();
var mockEventSource =new Mock<EventHubsEventSource>(){CallBase=true};
1185
+
var mockEventSource =new Mock<EventHubsEventSource>();
1186
1186
var mockProcessor =newMock<MinimalProcessorMock>(4,"consumerGroup","namespace","eventHub",Mock.Of<TokenCredential>(),default(EventProcessorOptions)){CallBase=true};
var mockEventSource =new Mock<EventHubsEventSource>(){CallBase=true};
1238
+
var mockEventSource =new Mock<EventHubsEventSource>();
1239
1239
var mockProcessor =newMock<MinimalProcessorMock>(4,"consumerGroup","namespace","eventHub",Mock.Of<TokenCredential>(),default(EventProcessorOptions)){CallBase=true};
1240
1240
1241
1241
mockEventSource
@@ -1305,7 +1305,7 @@ public async Task StopProcessingLogsFaultedTaskDuringShutdown(bool async)
var expectedException =new DivideByZeroException("BOOM!");
1308
-
var mockEventSource =new Mock<EventHubsEventSource>(){CallBase=true};
1308
+
var mockEventSource =new Mock<EventHubsEventSource>();
1309
1309
var mockProcessor =newMock<MinimalProcessorMock>(4,"consumerGroup","namespace","eventHub",Mock.Of<TokenCredential>(),default(EventProcessorOptions)){CallBase=true};
0 commit comments