Skip to content

Health check circuit breaker #1364

Health check circuit breaker

Health check circuit breaker #1364

GitHub Actions / .NET Tests failed Jan 1, 2025 in 1s

487 passed, 2 failed and 0 skipped

Tests failed

Report Passed Failed Skipped Time
./test-results/SecretStore.Test_Unit_net8.0_20250101183709.trx 2✅ 2s
./test-results/SlimMessageBus.Host.AmazonSQS.Test_Unit_net8.0_20250101183726.trx 8✅ 8s
./test-results/SlimMessageBus.Host.AspNetCore.Test_Unit_net8.0_20250101183724.trx 2✅ 11s
./test-results/SlimMessageBus.Host.AsyncApi.Test_Unit_net8.0_20250101183700.trx 2✅ 8s
./test-results/SlimMessageBus.Host.AzureEventHub.Test_Unit_net8.0_20250101183620.trx 12s
./test-results/SlimMessageBus.Host.AzureServiceBus.Test_Unit_net8.0_20250101183630.trx 27✅ 10s
./test-results/SlimMessageBus.Host.Benchmark_Unit_net8.0_20250101183638.trx 7s
./test-results/SlimMessageBus.Host.CircuitBreaker.HealthCheck.Test_Unit_net8.0_20250101183717.trx 26✅ 8s
./test-results/SlimMessageBus.Host.Configuration.Test_Unit_net8.0_20250101183656.trx 54✅ 8s
./test-results/SlimMessageBus.Host.FluentValidation.Test_Unit_net8.0_20250101183648.trx 8✅ 9s
./test-results/SlimMessageBus.Host.Integration.Test_Unit_net8.0_20250101183642.trx 11s
./test-results/SlimMessageBus.Host.Kafka.Test_Unit_net8.0_20250101183619.trx 32✅ 12s
./test-results/SlimMessageBus.Host.Memory.Benchmark_Unit_net8.0_20250101183643.trx 8s
./test-results/SlimMessageBus.Host.Memory.Test_Unit_net8.0_20250101183624.trx 23✅ 12s
./test-results/SlimMessageBus.Host.Mqtt.Test_Unit_net8.0_20250101183704.trx 8s
./test-results/SlimMessageBus.Host.Nats.Test_Unit_net8.0_20250101183721.trx 8s
./test-results/SlimMessageBus.Host.Outbox.Sql.DbContext.Test_Unit_net8.0_20250101183658.trx 15s
./test-results/SlimMessageBus.Host.Outbox.Sql.Test_Unit_net8.0_20250101183819.trx 13✅ 67s
./test-results/SlimMessageBus.Host.Outbox.Test_Unit_net8.0_20250101183712.trx 32✅ 7s
./test-results/SlimMessageBus.Host.RabbitMQ.Test_Unit_net8.0_20250101183706.trx 16✅ 8s
./test-results/SlimMessageBus.Host.Redis.Test_Unit_net8.0_20250101183630.trx 1✅ 9s
./test-results/SlimMessageBus.Host.Serialization.Avro.Test_Unit_net8.0_20250101183704.trx 1✅ 4s
./test-results/SlimMessageBus.Host.Serialization.Benchmark_Unit_net8.0_20250101183629.trx 4s
./test-results/SlimMessageBus.Host.Serialization.GoogleProtobuf.Test_Unit_net8.0_20250101183634.trx 2✅ 4s
./test-results/SlimMessageBus.Host.Serialization.Hybrid.Test_Unit_net8.0_20250101183711.trx 7✅ 7s
./test-results/SlimMessageBus.Host.Serialization.Json.Test_Unit_net8.0_20250101183652.trx 15✅ 4s
./test-results/SlimMessageBus.Host.Serialization.SystemTextJson.Test_Unit_net8.0_20250101183648.trx 17✅ 4s
./test-results/SlimMessageBus.Host.Test_Unit_net8.0_20250101183712.trx 197✅ 2❌ 64s
./test-results/SlimMessageBus.Test_Unit_net8.0_20250101183611.trx 2✅ 3s

✅ ./test-results/SecretStore.Test_Unit_net8.0_20250101183709.trx

2 tests were completed in 2s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SecretStore.Test.EnvironmentVariableSecretStoreTests 1✅ 27ms
SecretStore.Test.FileSecretStoreTests 1✅ 27ms

✅ ./test-results/SlimMessageBus.Host.AmazonSQS.Test_Unit_net8.0_20250101183726.trx

8 tests were completed in 8s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.AmazonSQS.Test.DefaultSqsHeaderSerializerTest 8✅ 69ms

✅ ./test-results/SlimMessageBus.Host.AspNetCore.Test_Unit_net8.0_20250101183724.trx

2 tests were completed in 11s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.AspNetCore.Test.AspNetCoreIt 2✅ 2s

✅ ./test-results/SlimMessageBus.Host.AsyncApi.Test_Unit_net8.0_20250101183700.trx

2 tests were completed in 8s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.AsyncApi.Test.MessageBusDocumentGeneratorTests 2✅ 36ms

✅ ./test-results/SlimMessageBus.Host.AzureEventHub.Test_Unit_net8.0_20250101183620.trx

No tests found

✅ ./test-results/SlimMessageBus.Host.AzureServiceBus.Test_Unit_net8.0_20250101183630.trx

27 tests were completed in 10s with 27 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.AzureServiceBus.Test.ServiceBusMessageBusSettingsTests 6✅ 315ms
SlimMessageBus.Host.AzureServiceBus.Test.ServiceBusMessageBusTests 5✅ 603ms
SlimMessageBus.Host.AzureServiceBus.Test.ServiceBusTopologyServiceTests+ProvisionTopologyTests 16✅ 591ms

✅ ./test-results/SlimMessageBus.Host.Benchmark_Unit_net8.0_20250101183638.trx

No tests found

✅ ./test-results/SlimMessageBus.Host.CircuitBreaker.HealthCheck.Test_Unit_net8.0_20250101183717.trx

26 tests were completed in 8s with 26 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.CircuitBreaker.HealthCheck.Test.HealthCheckBackgroundServiceTests+AreEqualTests 6✅ 6ms
SlimMessageBus.Host.CircuitBreaker.HealthCheck.Test.HealthCheckBackgroundServiceTests+PublishAsyncTests 6✅ 107ms
SlimMessageBus.Host.CircuitBreaker.HealthCheck.Test.HealthCheckBackgroundServiceTests+SubscribeTests 1✅ 69ms
SlimMessageBus.Host.CircuitBreaker.HealthCheck.Test.HealthCheckBackgroundServiceTests+UnsubscribeTests 1✅ 57ms
SlimMessageBus.Host.CircuitBreaker.HealthCheck.Test.HealthCheckCircuitBreakerAbstractConsumerInterceptorTests 4✅ 155ms
SlimMessageBus.Host.CircuitBreaker.HealthCheck.Test.HealthCheckCircuitBreakerTests 8✅ 265ms

✅ ./test-results/SlimMessageBus.Host.Configuration.Test_Unit_net8.0_20250101183656.trx

54 tests were completed in 8s with 54 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.Configuration.Test.MessageConsumerContextTest 1✅ 258ms
SlimMessageBus.Host.Configuration.Test.TypeCollectionTests 14✅ 30ms
SlimMessageBus.Host.Test.Config.AbstractConsumerBuilderTest 5✅ 18ms
SlimMessageBus.Host.Test.Config.ConsumerBuilderTest 10✅ 370ms
SlimMessageBus.Host.Test.Config.HandlerBuilderTest 8✅ 326ms
SlimMessageBus.Host.Test.Config.HasProviderExtensionsTest 8✅ 271ms
SlimMessageBus.Host.Test.Config.MessageBusBuilderTests 6✅ 44ms
SlimMessageBus.Host.Test.Config.ProducerBuilderTest 1✅ 2ms
SlimMessageBus.Host.Test.Config.RequestResponseBuilderTest 1✅ 1ms

✅ ./test-results/SlimMessageBus.Host.FluentValidation.Test_Unit_net8.0_20250101183648.trx

8 tests were completed in 9s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.FluentValidation.Test.AbstractValidationInterceptorTests 2✅ 269ms
SlimMessageBus.Host.FluentValidation.Test.ConsumerValidationInterceptorTests 2✅ 278ms
SlimMessageBus.Host.FluentValidation.Test.HandlerValidationInterceptorTests 2✅ 268ms
SlimMessageBus.Host.FluentValidation.Test.ProducerValidationInterceptorTests 2✅ 263ms

✅ ./test-results/SlimMessageBus.Host.Integration.Test_Unit_net8.0_20250101183642.trx

No tests found

✅ ./test-results/SlimMessageBus.Host.Kafka.Test_Unit_net8.0_20250101183619.trx

32 tests were completed in 12s with 32 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.Kafka.Test.DefaultKafkaHeaderSerializerTest 8✅ 17ms
SlimMessageBus.Host.Kafka.Test.KafkaGroupConsumerTests 2✅ 454ms
SlimMessageBus.Host.Kafka.Test.KafkaMessageBusTest 6✅ 214ms
SlimMessageBus.Host.Kafka.Test.KafkaPartitionConsumerForConsumersTest 4✅ 371ms
SlimMessageBus.Host.Kafka.Test.KafkaPartitionConsumerForResponsesTest 6✅ 413ms
SlimMessageBus.Host.Kafka.Test.KafkaProducerBuilderExtensionsTest 4✅ 70ms
SlimMessageBus.Host.Kafka.Test.KafkaProducerSettingsExtensionsTest 2✅ 69ms

✅ ./test-results/SlimMessageBus.Host.Memory.Benchmark_Unit_net8.0_20250101183643.trx

No tests found

✅ ./test-results/SlimMessageBus.Host.Memory.Test_Unit_net8.0_20250101183624.trx

23 tests were completed in 12s with 23 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.Memory.Test.Consumers.ConcurrentMessageProcessorQueueTests 1✅ 808ms
SlimMessageBus.Host.Memory.Test.Consumers.MessageProcessorQueueTests 1✅ 785ms
SlimMessageBus.Host.Memory.Test.MemoryMessageBusBuilderTests 3✅ 138ms
SlimMessageBus.Host.Memory.Test.MemoryMessageBusTests 18✅ 492ms

✅ ./test-results/SlimMessageBus.Host.Mqtt.Test_Unit_net8.0_20250101183704.trx

No tests found

✅ ./test-results/SlimMessageBus.Host.Nats.Test_Unit_net8.0_20250101183721.trx

No tests found

✅ ./test-results/SlimMessageBus.Host.Outbox.Sql.DbContext.Test_Unit_net8.0_20250101183658.trx

No tests found

✅ ./test-results/SlimMessageBus.Host.Outbox.Sql.Test_Unit_net8.0_20250101183819.trx

13 tests were completed in 67s with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.Outbox.Sql.Test.SqlOutboxRepositoryTests+AbortDeliveryTests 1✅ 73ms
SlimMessageBus.Host.Outbox.Sql.Test.SqlOutboxRepositoryTests+DeleteSentTests 1✅ 96ms
SlimMessageBus.Host.Outbox.Sql.Test.SqlOutboxRepositoryTests+IncrementDeliveryAttemptTests 2✅ 1s
SlimMessageBus.Host.Outbox.Sql.Test.SqlOutboxRepositoryTests+LockAndSelectTests 4✅ 240ms
SlimMessageBus.Host.Outbox.Sql.Test.SqlOutboxRepositoryTests+RenewLockTests 3✅ 1s
SlimMessageBus.Host.Outbox.Sql.Test.SqlOutboxRepositoryTests+SaveTests 1✅ 1s
SlimMessageBus.Host.Outbox.Sql.Test.SqlOutboxRepositoryTests+UpdateToSentTests 1✅ 1s

✅ ./test-results/SlimMessageBus.Host.Outbox.Test_Unit_net8.0_20250101183712.trx

32 tests were completed in 7s with 32 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.Outbox.Test.AsyncManualResetEventTests 7✅ 445ms
SlimMessageBus.Host.Outbox.Test.IEnumerableExtensionsTests+BatchTests 7✅ 217ms
SlimMessageBus.Host.Outbox.Test.Interceptors.OutboxForwardingPublishInterceptorTests+OnHandleTests 4✅ 60ms
SlimMessageBus.Host.Outbox.Test.Interceptors.OutboxForwardingPublishInterceptorTests+OrderTests 2✅ 275ms
SlimMessageBus.Host.Outbox.Test.OutboxLockRenewalTimerTests 5✅ 400ms
SlimMessageBus.Host.Outbox.Test.Services.OutboxSendingTaskTests+DispatchBatchTests 3✅ 120ms
SlimMessageBus.Host.Outbox.Test.Services.OutboxSendingTaskTests+ProcessMessagesTests 4✅ 191ms

✅ ./test-results/SlimMessageBus.Host.RabbitMQ.Test_Unit_net8.0_20250101183706.trx

16 tests were completed in 8s with 16 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.RabbitMQ.Test.Config.RabbitMqConsumerBuilderExtensionsTests 1✅ 127ms
SlimMessageBus.Host.RabbitMQ.Test.Config.RabbitMqConsumerContextExtensionsTests 5✅ 280ms
SlimMessageBus.Host.RabbitMQ.Test.Config.RabbitMqMessageBusSettingsExtensionsTests 2✅ 132ms
SlimMessageBus.Host.RabbitMQ.Test.Consumer.RabbitMqAutoAcknowledgeMessageProcessorTests 4✅ 201ms
SlimMessageBus.Host.RabbitMQ.Test.DefaultHeaderValueConverterTest 4✅ 47ms

✅ ./test-results/SlimMessageBus.Host.Redis.Test_Unit_net8.0_20250101183630.trx

1 tests were completed in 9s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.Redis.Test.RedisMessageBusTest 1✅ 723ms

✅ ./test-results/SlimMessageBus.Host.Serialization.Avro.Test_Unit_net8.0_20250101183704.trx

1 tests were completed in 4s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.Serialization.Avro.Test.SerializationBuilderExtensionsTest 1✅ 31ms

✅ ./test-results/SlimMessageBus.Host.Serialization.Benchmark_Unit_net8.0_20250101183629.trx

No tests found

✅ ./test-results/SlimMessageBus.Host.Serialization.GoogleProtobuf.Test_Unit_net8.0_20250101183634.trx

2 tests were completed in 4s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.Serialization.GoogleProtobuf.Test.GoogleProtobufMessageSerializerTest 1✅ 82ms
SlimMessageBus.Host.Serialization.GoogleProtobuf.Test.SerializationBuilderExtensionsTest 1✅ 46ms

✅ ./test-results/SlimMessageBus.Host.Serialization.Hybrid.Test_Unit_net8.0_20250101183711.trx

7 tests were completed in 7s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.Serialization.Hybrid.Test.HybridMessageSerializerTests 4✅ 264ms
SlimMessageBus.Host.Serialization.Hybrid.Test.SerializationBuilderExtensionsTests 3✅ 272ms

✅ ./test-results/SlimMessageBus.Host.Serialization.Json.Test_Unit_net8.0_20250101183652.trx

15 tests were completed in 4s with 15 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.Serialization.Json.Test.JsonMessageSerializerTests 14✅ 46ms
SlimMessageBus.Host.Serialization.Json.Test.SerializationBuilderExtensionsTest 1✅ 39ms

✅ ./test-results/SlimMessageBus.Host.Serialization.SystemTextJson.Test_Unit_net8.0_20250101183648.trx

17 tests were completed in 4s with 17 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.Serialization.SystemTextJson.Test.JsonMessageSerializerTests 16✅ 122ms
SlimMessageBus.Host.Serialization.SystemTextJson.Test.SerializationBuilderExtensionsTest 1✅ 43ms

❌ ./test-results/SlimMessageBus.Host.Test_Unit_net8.0_20250101183712.trx

199 tests were completed in 64s with 197 passed, 2 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.Test.Collections.AsyncTaskListTests 1✅ 220ms
SlimMessageBus.Host.Test.Collections.GenericTypeCacheTests 3✅ 24ms
SlimMessageBus.Host.Test.Collections.KindMappingTest 4✅ 19ms
SlimMessageBus.Host.Test.Collections.ProducerByMessageTypeCacheTests 15✅ 7ms
SlimMessageBus.Host.Test.Collections.RuntimeTypeCacheTests 12✅ 14ms
SlimMessageBus.Host.Test.Collections.SafeDictionaryWrapperTest 3✅ 24ms
SlimMessageBus.Host.Test.Collections.TaskOfTypeCacheTests 9✅ 43ms
SlimMessageBus.Host.Test.Consumer.AbstractConsumerTests 4✅ 30ms
SlimMessageBus.Host.Test.Consumer.CheckpointTriggerFactoryTests 2✅ 14ms
SlimMessageBus.Host.Test.Consumer.CheckpointTriggerTest 5✅ 3s
SlimMessageBus.Host.Test.Consumer.ConcurrentMessageProcessorDecoratorTest 6✅ 4s
SlimMessageBus.Host.Test.Consumer.MessageScopeWrapperTest 8✅ 5ms
SlimMessageBus.Host.Test.ConsumerInstanceMessageProcessorTest 18✅ 271ms
SlimMessageBus.Host.Test.ConsumerInterceptorPipelineTests 6✅ 412ms
SlimMessageBus.Host.Test.ConsumerSettingsTest 5✅ 1ms
SlimMessageBus.Host.Test.DependencyResolver.ConsumerMethodPostProcessorTest 1✅ 16ms
SlimMessageBus.Host.Test.DependencyResolver.ServiceCollectionExtensionsTest 3✅ 91ms
SlimMessageBus.Host.Test.Hybrid.HybridMessageBusTest 21✅ 338ms
SlimMessageBus.Host.Test.MessageBusBaseTests 31✅ 2❌ 45s
SlimMessageBus.Host.Test.MessageBusBaseTests+ProduceResponseTests 1✅ 11ms
SlimMessageBus.Host.Test.MessageHandlerTest 8✅ 538ms
SlimMessageBus.Host.Test.MessageWithHeadersSerializerTests 4✅ 18ms
SlimMessageBus.Host.Test.PendingRequestManagerTest 2✅ 12ms
SlimMessageBus.Host.Test.PublishInterceptorPipelineTests 3✅ 55ms
SlimMessageBus.Host.Test.ReflectionUtilsTests 11✅ 47ms
SlimMessageBus.Host.Test.RetryTests+WithDelay 6✅ 151ms
SlimMessageBus.Host.Test.SendInterceptorPipelineTests 3✅ 147ms
SlimMessageBus.Host.Test.Services.MessageHeaderServiceTests 2✅ 11ms

❌ SlimMessageBus.Host.Test.MessageBusBaseTests

✅ When_CancellationTokenCancelled_Then_CancellsPendingRequest
✅ When_Create_Given_ConfigurationThatDeclaresSameMessageTypeMoreThanOnce_Then_ExceptionIsThrown
✅ When_Create_Then_BusLifecycleCreatedIsSentToRegisteredInterceptors
✅ When_GetProducerSettings_Given_MessageWasDeclared_Then_GetProducerSettingsShouldNotReturnNull
✅ When_GetProducerSettings_Given_RequestMessageHandled_Then_GetProducerSettingsShouldReturnNull
✅ When_NoTimeoutProvided_Then_TakesDefaultTimeoutForRequestTypeAsync
✅ When_Produce_DerivedMessage_Given_OnlyBaseMessageConfigured_Then_BaseMessageProducerConfigUsed
✅ When_Produce_Given_LongRunningCreateInterceptor_Then_ProduceWaitsUntilInterceptorFinishes(isPublish: False)
✅ When_Produce_Given_LongRunningCreateInterceptor_Then_ProduceWaitsUntilInterceptorFinishes(isPublish: True)
✅ When_Produce_Message_Given_MessageNotDeclared_Then_GetProducerSettingsShouldThrowException
✅ When_Publish_DerivedMessage_Given_DeriveMessageConfigured_Then_DerivedMessageProducerConfigUsed(caseId: 1)
✅ When_Publish_DerivedMessage_Given_DeriveMessageConfigured_Then_DerivedMessageProducerConfigUsed(caseId: 2)
✅ When_Publish_DerivedMessage_Given_DeriveMessageConfigured_Then_DerivedMessageProducerConfigUsed(caseId: 3)
✅ When_Publish_Given_Disposed_Then_ThrowsException
✅ When_Publish_Given_InterceptorsInDI_Then_InterceptorInfluenceIfTheMessageIsDelivered(producedMessages: 0, producerInterceptorCallsNext: False, publishInterceptorCallsNext: False)
✅ When_Publish_Given_InterceptorsInDI_Then_InterceptorInfluenceIfTheMessageIsDelivered(producedMessages: 0, producerInterceptorCallsNext: False, publishInterceptorCallsNext: null)
✅ When_Publish_Given_InterceptorsInDI_Then_InterceptorInfluenceIfTheMessageIsDelivered(producedMessages: 0, producerInterceptorCallsNext: null, publishInterceptorCallsNext: False)
✅ When_Publish_Given_InterceptorsInDI_Then_InterceptorInfluenceIfTheMessageIsDelivered(producedMessages: 1, producerInterceptorCallsNext: null, publishInterceptorCallsNext: null)
✅ When_Publish_Given_InterceptorsInDI_Then_InterceptorInfluenceIfTheMessageIsDelivered(producedMessages: 1, producerInterceptorCallsNext: null, publishInterceptorCallsNext: True)
✅ When_Publish_Given_InterceptorsInDI_Then_InterceptorInfluenceIfTheMessageIsDelivered(producedMessages: 1, producerInterceptorCallsNext: True, publishInterceptorCallsNext: null)
✅ When_Publish_Given_InterceptorsInDI_Then_InterceptorInfluenceIfTheMessageIsDelivered(producedMessages: 1, producerInterceptorCallsNext: True, publishInterceptorCallsNext: True)
✅ When_ResponseArrives_Then_ResolvesPendingRequestAsync
✅ When_ResponseArrivesTooLate_Then_ExpiresPendingRequestAsync
✅ When_Send_Given_Disposed_Then_ThrowsException
✅ When_Send_Given_InterceptorsInDI_Then_InterceptorInfluenceIfTheMessageIsDelivered(producedMessages: 0, producerInterceptorCallsNext: False, sendInterceptorCallsNext: False)
✅ When_Send_Given_InterceptorsInDI_Then_InterceptorInfluenceIfTheMessageIsDelivered(producedMessages: 0, producerInterceptorCallsNext: False, sendInterceptorCallsNext: null)
✅ When_Send_Given_InterceptorsInDI_Then_InterceptorInfluenceIfTheMessageIsDelivered(producedMessages: 0, producerInterceptorCallsNext: null, sendInterceptorCallsNext: False)
✅ When_Send_Given_InterceptorsInDI_Then_InterceptorInfluenceIfTheMessageIsDelivered(producedMessages: 1, producerInterceptorCallsNext: null, sendInterceptorCallsNext: null)
✅ When_Send_Given_InterceptorsInDI_Then_InterceptorInfluenceIfTheMessageIsDelivered(producedMessages: 1, producerInterceptorCallsNext: null, sendInterceptorCallsNext: True)
✅ When_Send_Given_InterceptorsInDI_Then_InterceptorInfluenceIfTheMessageIsDelivered(producedMessages: 1, producerInterceptorCallsNext: True, sendInterceptorCallsNext: null)
✅ When_Send_Given_InterceptorsInDI_Then_InterceptorInfluenceIfTheMessageIsDelivered(producedMessages: 1, producerInterceptorCallsNext: True, sendInterceptorCallsNext: True)
❌ When_Start_Given_ConcurrentCalls_Then_ItOnlyStartsConsumersOnce
	System.InvalidOperationException : Sequence contains no matching element
❌ When_Stop_Given_ConcurrentCalls_Then_ItOnlyStopsConsumersOnce
	System.InvalidOperationException : Sequence contains no matching element

✅ ./test-results/SlimMessageBus.Test_Unit_net8.0_20250101183611.trx

2 tests were completed in 3s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SlimMessageBus.Test.MessageBusTest 2✅ 224ms

Annotations

Check failure on line 644 in src/Tests/SlimMessageBus.Host.Test/MessageBusBaseTests.cs

See this annotation in the file changed.

@github-actions github-actions / .NET Tests

SlimMessageBus.Host.Test.MessageBusBaseTests ► When_Start_Given_ConcurrentCalls_Then_ItOnlyStartsConsumersOnce

Failed test found in:
  ./test-results/SlimMessageBus.Host.Test_Unit_net8.0_20250101183712.trx
Error:
  System.InvalidOperationException : Sequence contains no matching element
Raw output
System.InvalidOperationException : Sequence contains no matching element
   at System.Linq.ThrowHelper.ThrowNoMatchException()
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
   at SlimMessageBus.Host.AbstractConsumer.CallInterceptor(Func`2 func) in /_/src/SlimMessageBus.Host/Consumer/AbstractConsumer.cs:line 24
   at SlimMessageBus.Host.AbstractConsumer.Start() in /_/src/SlimMessageBus.Host/Consumer/AbstractConsumer.cs:line 87
   at SlimMessageBus.Host.MessageBusBase.Start() in /_/src/SlimMessageBus.Host/MessageBusBase.cs:line 201
   at SlimMessageBus.Host.Test.MessageBusBaseTests.When_Start_Given_ConcurrentCalls_Then_ItOnlyStartsConsumersOnce() in /home/runner/work/SlimMessageBus/SlimMessageBus/src/Tests/SlimMessageBus.Host.Test/MessageBusBaseTests.cs:line 644
--- End of stack trace from previous location ---

Check failure on line 662 in src/Tests/SlimMessageBus.Host.Test/MessageBusBaseTests.cs

See this annotation in the file changed.

@github-actions github-actions / .NET Tests

SlimMessageBus.Host.Test.MessageBusBaseTests ► When_Stop_Given_ConcurrentCalls_Then_ItOnlyStopsConsumersOnce

Failed test found in:
  ./test-results/SlimMessageBus.Host.Test_Unit_net8.0_20250101183712.trx
Error:
  System.InvalidOperationException : Sequence contains no matching element
Raw output
System.InvalidOperationException : Sequence contains no matching element
   at System.Linq.ThrowHelper.ThrowNoMatchException()
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
   at SlimMessageBus.Host.AbstractConsumer.CallInterceptor(Func`2 func) in /_/src/SlimMessageBus.Host/Consumer/AbstractConsumer.cs:line 24
   at SlimMessageBus.Host.AbstractConsumer.Start() in /_/src/SlimMessageBus.Host/Consumer/AbstractConsumer.cs:line 87
   at SlimMessageBus.Host.MessageBusBase.Start() in /_/src/SlimMessageBus.Host/MessageBusBase.cs:line 201
   at SlimMessageBus.Host.Test.MessageBusBaseTests.When_Stop_Given_ConcurrentCalls_Then_ItOnlyStopsConsumersOnce() in /home/runner/work/SlimMessageBus/SlimMessageBus/src/Tests/SlimMessageBus.Host.Test/MessageBusBaseTests.cs:line 662
--- End of stack trace from previous location ---