Skip to content

High performance logging #1403

High performance logging

High performance logging #1403

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

493 passed, 2 failed and 0 skipped

Tests failed

Report Passed Failed Skipped Time
./test-results/SecretStore.Test_Unit_net8.0_20250112193654.trx 2✅ 2s
./test-results/SlimMessageBus.Host.AmazonSQS.Test_Unit_net8.0_20250112193717.trx 8✅ 11s
./test-results/SlimMessageBus.Host.AspNetCore.Test_Unit_net8.0_20250112193715.trx 2✅ 13s
./test-results/SlimMessageBus.Host.AsyncApi.Test_Unit_net8.0_20250112193646.trx 2✅ 10s
./test-results/SlimMessageBus.Host.AzureEventHub.Test_Unit_net8.0_20250112193607.trx 13s
./test-results/SlimMessageBus.Host.AzureServiceBus.Test_Unit_net8.0_20250112193619.trx 27✅ 11s
./test-results/SlimMessageBus.Host.Benchmark_Unit_net8.0_20250112193627.trx 7s
./test-results/SlimMessageBus.Host.CircuitBreaker.HealthCheck.Test_Unit_net8.0_20250112193705.trx 22✅ 10s
./test-results/SlimMessageBus.Host.CircuitBreaker.Test_Unit_net8.0_20250112193718.trx 4✅ 10s
./test-results/SlimMessageBus.Host.Configuration.Test_Unit_net8.0_20250112193647.trx 54✅ 11s
./test-results/SlimMessageBus.Host.FluentValidation.Test_Unit_net8.0_20250112193639.trx 8✅ 11s
./test-results/SlimMessageBus.Host.Integration.Test_Unit_net8.0_20250112193631.trx 12s
./test-results/SlimMessageBus.Host.Kafka.Test_Unit_net8.0_20250112193608.trx 32✅ 14s
./test-results/SlimMessageBus.Host.Memory.Benchmark_Unit_net8.0_20250112193631.trx 9s
./test-results/SlimMessageBus.Host.Memory.Test_Unit_net8.0_20250112193613.trx 25✅ 14s
./test-results/SlimMessageBus.Host.Mqtt.Test_Unit_net8.0_20250112193650.trx 10s
./test-results/SlimMessageBus.Host.Nats.Test_Unit_net8.0_20250112193708.trx 10s
./test-results/SlimMessageBus.Host.Outbox.Sql.DbContext.Test_Unit_net8.0_20250112193646.trx 18s
./test-results/SlimMessageBus.Host.Outbox.Sql.Test_Unit_net8.0_20250112193802.trx 13✅ 65s
./test-results/SlimMessageBus.Host.Outbox.Test_Unit_net8.0_20250112193701.trx 32✅ 10s
./test-results/SlimMessageBus.Host.RabbitMQ.Test_Unit_net8.0_20250112193658.trx 16✅ 11s
./test-results/SlimMessageBus.Host.Redis.Test_Unit_net8.0_20250112193619.trx 1✅ 10s
./test-results/SlimMessageBus.Host.Serialization.Avro.Test_Unit_net8.0_20250112193651.trx 1✅ 4s
./test-results/SlimMessageBus.Host.Serialization.Benchmark_Unit_net8.0_20250112193617.trx 4s
./test-results/SlimMessageBus.Host.Serialization.GoogleProtobuf.Test_Unit_net8.0_20250112193622.trx 2✅ 4s
./test-results/SlimMessageBus.Host.Serialization.Hybrid.Test_Unit_net8.0_20250112193656.trx 7✅ 9s
./test-results/SlimMessageBus.Host.Serialization.Json.Test_Unit_net8.0_20250112193635.trx 15✅ 4s
./test-results/SlimMessageBus.Host.Serialization.SystemTextJson.Test_Unit_net8.0_20250112193635.trx 17✅ 4s
./test-results/SlimMessageBus.Host.Test_Unit_net8.0_20250112193627.trx 201✅ 2❌ 32s
./test-results/SlimMessageBus.Test_Unit_net8.0_20250112193558.trx 2✅ 4s

✅ ./test-results/SecretStore.Test_Unit_net8.0_20250112193654.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✅ 33ms
SecretStore.Test.FileSecretStoreTests 1✅ 31ms

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

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

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

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

2 tests were completed in 13s 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_20250112193646.trx

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

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

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

No tests found

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

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

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.AzureServiceBus.Test.ServiceBusMessageBusSettingsTests 6✅ 271ms
SlimMessageBus.Host.AzureServiceBus.Test.ServiceBusMessageBusTests 5✅ 488ms
SlimMessageBus.Host.AzureServiceBus.Test.ServiceBusTopologyServiceTests+ProvisionTopologyTests 16✅ 496ms

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

No tests found

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

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

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.CircuitBreaker.HealthCheck.Test.HealthCheckBackgroundServiceTests+AreEqualTests 6✅ 47ms
SlimMessageBus.Host.CircuitBreaker.HealthCheck.Test.HealthCheckBackgroundServiceTests+PublishAsyncTests 6✅ 193ms
SlimMessageBus.Host.CircuitBreaker.HealthCheck.Test.HealthCheckBackgroundServiceTests+SubscribeTests 1✅ 1ms
SlimMessageBus.Host.CircuitBreaker.HealthCheck.Test.HealthCheckBackgroundServiceTests+UnsubscribeTests 1✅ 6ms
SlimMessageBus.Host.CircuitBreaker.HealthCheck.Test.HealthCheckCircuitBreakerTests 8✅ 278ms

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

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

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.CircuitBreaker.Test.CircuitBreakerAbstractConsumerInterceptorTests 4✅ 90ms

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

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

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.Configuration.Test.MessageConsumerContextTest 1✅ 83ms
SlimMessageBus.Host.Configuration.Test.TypeCollectionTests 14✅ 22ms
SlimMessageBus.Host.Test.Config.AbstractConsumerBuilderTest 5✅ 8ms
SlimMessageBus.Host.Test.Config.ConsumerBuilderTest 10✅ 467ms
SlimMessageBus.Host.Test.Config.HandlerBuilderTest 8✅ 621ms
SlimMessageBus.Host.Test.Config.HasProviderExtensionsTest 8✅ 338ms
SlimMessageBus.Host.Test.Config.MessageBusBuilderTests 6✅ 163ms
SlimMessageBus.Host.Test.Config.ProducerBuilderTest 1✅ 22ms
SlimMessageBus.Host.Test.Config.RequestResponseBuilderTest 1✅ 84ms

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

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

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.FluentValidation.Test.AbstractValidationInterceptorTests 2✅ 209ms
SlimMessageBus.Host.FluentValidation.Test.ConsumerValidationInterceptorTests 2✅ 201ms
SlimMessageBus.Host.FluentValidation.Test.HandlerValidationInterceptorTests 2✅ 210ms
SlimMessageBus.Host.FluentValidation.Test.ProducerValidationInterceptorTests 2✅ 23ms

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

No tests found

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

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

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.Kafka.Test.DefaultKafkaHeaderSerializerTest 8✅ 55ms
SlimMessageBus.Host.Kafka.Test.KafkaGroupConsumerTests 2✅ 556ms
SlimMessageBus.Host.Kafka.Test.KafkaMessageBusTest 6✅ 185ms
SlimMessageBus.Host.Kafka.Test.KafkaPartitionConsumerForConsumersTest 4✅ 352ms
SlimMessageBus.Host.Kafka.Test.KafkaPartitionConsumerForResponsesTest 6✅ 149ms
SlimMessageBus.Host.Kafka.Test.KafkaProducerBuilderExtensionsTest 4✅ 327ms
SlimMessageBus.Host.Kafka.Test.KafkaProducerSettingsExtensionsTest 2✅ 37ms

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

No tests found

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

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

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.Memory.Test.Consumers.ConcurrentMessageProcessorQueueTests 1✅ 826ms
SlimMessageBus.Host.Memory.Test.Consumers.MessageProcessorQueueTests 1✅ 810ms
SlimMessageBus.Host.Memory.Test.MemoryMessageBusBuilderTests 3✅ 116ms
SlimMessageBus.Host.Memory.Test.MemoryMessageBusTests 20✅ 368ms

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

No tests found

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

No tests found

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

No tests found

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

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

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.Outbox.Sql.Test.SqlOutboxRepositoryTests+AbortDeliveryTests 1✅ 60ms
SlimMessageBus.Host.Outbox.Sql.Test.SqlOutboxRepositoryTests+DeleteSentTests 1✅ 719ms
SlimMessageBus.Host.Outbox.Sql.Test.SqlOutboxRepositoryTests+IncrementDeliveryAttemptTests 2✅ 768ms
SlimMessageBus.Host.Outbox.Sql.Test.SqlOutboxRepositoryTests+LockAndSelectTests 4✅ 1s
SlimMessageBus.Host.Outbox.Sql.Test.SqlOutboxRepositoryTests+RenewLockTests 3✅ 258ms
SlimMessageBus.Host.Outbox.Sql.Test.SqlOutboxRepositoryTests+SaveTests 1✅ 27ms
SlimMessageBus.Host.Outbox.Sql.Test.SqlOutboxRepositoryTests+UpdateToSentTests 1✅ 786ms

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

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

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.Outbox.Test.AsyncManualResetEventTests 7✅ 373ms
SlimMessageBus.Host.Outbox.Test.IEnumerableExtensionsTests+BatchTests 7✅ 174ms
SlimMessageBus.Host.Outbox.Test.Interceptors.OutboxForwardingPublishInterceptorTests+OnHandleTests 4✅ 190ms
SlimMessageBus.Host.Outbox.Test.Interceptors.OutboxForwardingPublishInterceptorTests+OrderTests 2✅ 207ms
SlimMessageBus.Host.Outbox.Test.OutboxLockRenewalTimerTests 5✅ 351ms
SlimMessageBus.Host.Outbox.Test.Services.OutboxSendingTaskTests+DispatchBatchTests 3✅ 58ms
SlimMessageBus.Host.Outbox.Test.Services.OutboxSendingTaskTests+ProcessMessagesTests 4✅ 421ms

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

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

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.RabbitMQ.Test.Config.RabbitMqConsumerBuilderExtensionsTests 1✅ 137ms
SlimMessageBus.Host.RabbitMQ.Test.Config.RabbitMqConsumerContextExtensionsTests 5✅ 250ms
SlimMessageBus.Host.RabbitMQ.Test.Config.RabbitMqMessageBusSettingsExtensionsTests 2✅ 118ms
SlimMessageBus.Host.RabbitMQ.Test.Consumer.RabbitMqAutoAcknowledgeMessageProcessorTests 4✅ 236ms
SlimMessageBus.Host.RabbitMQ.Test.DefaultHeaderValueConverterTest 4✅ 66ms

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

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

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

✅ ./test-results/SlimMessageBus.Host.Serialization.Avro.Test_Unit_net8.0_20250112193651.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✅ 36ms

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

No tests found

✅ ./test-results/SlimMessageBus.Host.Serialization.GoogleProtobuf.Test_Unit_net8.0_20250112193622.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✅ 91ms
SlimMessageBus.Host.Serialization.GoogleProtobuf.Test.SerializationBuilderExtensionsTest 1✅ 53ms

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

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

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

✅ ./test-results/SlimMessageBus.Host.Serialization.Json.Test_Unit_net8.0_20250112193635.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✅ 72ms
SlimMessageBus.Host.Serialization.Json.Test.SerializationBuilderExtensionsTest 1✅ 62ms

✅ ./test-results/SlimMessageBus.Host.Serialization.SystemTextJson.Test_Unit_net8.0_20250112193635.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✅ 197ms
SlimMessageBus.Host.Serialization.SystemTextJson.Test.SerializationBuilderExtensionsTest 1✅ 76ms

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

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

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.Test.Collections.AsyncTaskListTests 1✅ 217ms
SlimMessageBus.Host.Test.Collections.GenericTypeCacheTests 3✅ 9ms
SlimMessageBus.Host.Test.Collections.KindMappingTest 4✅ 26ms
SlimMessageBus.Host.Test.Collections.ProducerByMessageTypeCacheTests 15✅ 55ms
SlimMessageBus.Host.Test.Collections.RuntimeTypeCacheTests 12✅ 14ms
SlimMessageBus.Host.Test.Collections.SafeDictionaryWrapperTest 3✅ 16ms
SlimMessageBus.Host.Test.Collections.TaskOfTypeCacheTests 9✅ 46ms
SlimMessageBus.Host.Test.Consumer.AbstractConsumerTests 7✅ 51ms
SlimMessageBus.Host.Test.Consumer.CheckpointTriggerFactoryTests 2✅ 8ms
SlimMessageBus.Host.Test.Consumer.CheckpointTriggerTest 5✅ 3s
SlimMessageBus.Host.Test.Consumer.ConcurrentMessageProcessorDecoratorTest 6✅ 4s
SlimMessageBus.Host.Test.Consumer.MessageScopeWrapperTest 8✅ 25ms
SlimMessageBus.Host.Test.ConsumerInstanceMessageProcessorTest 18✅ 205ms
SlimMessageBus.Host.Test.ConsumerInterceptorPipelineTests 6✅ 366ms
SlimMessageBus.Host.Test.ConsumerSettingsTest 5✅ 5ms
SlimMessageBus.Host.Test.DependencyResolver.ConsumerMethodPostProcessorTest 1✅ 12ms
SlimMessageBus.Host.Test.DependencyResolver.ServiceCollectionExtensionsTest 3✅ 31ms
SlimMessageBus.Host.Test.Hybrid.HybridMessageBusTest 21✅ 223ms
SlimMessageBus.Host.Test.MessageBusBaseTests 31✅ 2❌ 12s
SlimMessageBus.Host.Test.MessageBusBaseTests+ProduceResponseTests 1✅ 12ms
SlimMessageBus.Host.Test.MessageHandlerTest 8✅ 460ms
SlimMessageBus.Host.Test.MessageWithHeadersSerializerTests 4✅ 8ms
SlimMessageBus.Host.Test.PendingRequestManagerTest 2✅ 16ms
SlimMessageBus.Host.Test.PendingRequestStateTest 1✅ 9ms
SlimMessageBus.Host.Test.PublishInterceptorPipelineTests 3✅ 39ms
SlimMessageBus.Host.Test.ReflectionUtilsTests 11✅ 36ms
SlimMessageBus.Host.Test.RetryTests+WithDelay 6✅ 140ms
SlimMessageBus.Host.Test.SendInterceptorPipelineTests 3✅ 70ms
SlimMessageBus.Host.Test.Services.MessageHeaderServiceTests 2✅ 21ms

❌ 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)
	System.NullReferenceException : Object reference not set to an instance of an object.
✅ When_Start_Given_ConcurrentCalls_Then_ItOnlyStartsConsumersOnce
❌ When_Stop_Given_ConcurrentCalls_Then_ItOnlyStopsConsumersOnce
	Expected bus._startedCount to be 1, but found 2.

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

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

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

Annotations

Check failure on line 73 in src/Tests/SlimMessageBus.Host.Test/MessageBusTested.cs

See this annotation in the file changed.

@github-actions github-actions / .NET Tests

SlimMessageBus.Host.Test.MessageBusBaseTests ► When_Send_Given_InterceptorsInDI_Then_InterceptorInfluenceIfTheMessageIsDelivered(producedMessages: 1, producerInterceptorCallsNext: True, sendInterceptorCallsNext: True)

Failed test found in:
  ./test-results/SlimMessageBus.Host.Test_Unit_net8.0_20250112193627.trx
Error:
  System.NullReferenceException : Object reference not set to an instance of an object.
Raw output
System.NullReferenceException : Object reference not set to an instance of an object.
   at SlimMessageBus.Host.Test.MessageBusTested.ProduceToTransport(Object message, Type messageType, String path, IDictionary`2 messageHeaders, IMessageBusTarget targetBus, CancellationToken cancellationToken) in /home/runner/work/SlimMessageBus/SlimMessageBus/src/Tests/SlimMessageBus.Host.Test/MessageBusTested.cs:line 73
   at SlimMessageBus.Host.MessageBusBase.SendInternal[TResponseMessage](Object request, String path, Type requestType, Type responseType, ProducerSettings producerSettings, DateTimeOffset created, DateTimeOffset expires, String requestId, IDictionary`2 requestHeaders, IMessageBusTarget targetBus, CancellationToken cancellationToken) in /_/src/SlimMessageBus.Host/MessageBusBase.cs:line 599
   at SlimMessageBus.Host.SendInterceptorPipeline`1.Next() in /_/src/SlimMessageBus.Host/Producer/InterceptorPipelines/SendInterceptorPipeline.cs:line 48
   at SlimMessageBus.Host.SendInterceptorPipeline`1.Next() in /_/src/SlimMessageBus.Host/Producer/InterceptorPipelines/SendInterceptorPipeline.cs:line 38
   at SlimMessageBus.Host.SendInterceptorPipeline`1.NextOfObject() in /_/src/SlimMessageBus.Host/Producer/InterceptorPipelines/SendInterceptorPipeline.cs:line 19
   at SlimMessageBus.Host.SendInterceptorPipeline`1.Next() in /_/src/SlimMessageBus.Host/Producer/InterceptorPipelines/SendInterceptorPipeline.cs:line 27
   at SlimMessageBus.Host.MessageBusBase.ProduceSend[TResponse](Object request, String path, IDictionary`2 headers, Nullable`1 timeout, IMessageBusTarget targetBus, CancellationToken cancellationToken) in /_/src/SlimMessageBus.Host/MessageBusBase.cs:line 569
   at SlimMessageBus.Host.Test.MessageBusBaseTests.When_Send_Given_InterceptorsInDI_Then_InterceptorInfluenceIfTheMessageIsDelivered(Int32 producedMessages, Nullable`1 producerInterceptorCallsNext, Nullable`1 sendInterceptorCallsNext) in /home/runner/work/SlimMessageBus/SlimMessageBus/src/Tests/SlimMessageBus.Host.Test/MessageBusBaseTests.cs:line 577
--- End of stack trace from previous location ---

Check failure on line 671 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_20250112193627.trx
Error:
  Expected bus._startedCount to be 1, but found 2.
Raw output
Expected bus._startedCount to be 1, but found 2.
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Numeric.NumericAssertions`2.Be(T expected, String because, Object[] becauseArgs)
   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 671
--- End of stack trace from previous location ---