From 1c99daddf26647e60110385286474c990d166053 Mon Sep 17 00:00:00 2001 From: liangshiwei Date: Wed, 28 Jul 2021 12:22:06 +0800 Subject: [PATCH] Fix unit tests --- .../Abp/EventBus/Local/EventBus_Exception_Handler_Tests.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/framework/test/Volo.Abp.EventBus.Tests/Volo/Abp/EventBus/Local/EventBus_Exception_Handler_Tests.cs b/framework/test/Volo.Abp.EventBus.Tests/Volo/Abp/EventBus/Local/EventBus_Exception_Handler_Tests.cs index d6b61ee863..3ed0ff19f9 100644 --- a/framework/test/Volo.Abp.EventBus.Tests/Volo/Abp/EventBus/Local/EventBus_Exception_Handler_Tests.cs +++ b/framework/test/Volo.Abp.EventBus.Tests/Volo/Abp/EventBus/Local/EventBus_Exception_Handler_Tests.cs @@ -33,9 +33,7 @@ namespace Volo.Abp.EventBus.Local LocalEventBus.Subscribe(eventData => { eventData.Value.ShouldBe(0); - retryAttempt++; - eventData.Value++; if (retryAttempt < 2) { throw new Exception("This exception is intentionally thrown!"); @@ -58,7 +56,6 @@ namespace Volo.Abp.EventBus.Local eventData.Value.ShouldBe(0); retryAttempt++; - eventData.Value++; throw new Exception("This exception is intentionally thrown!"); });