Skip to content

Support for UUIDv7 values #1182

Support for UUIDv7 values

Support for UUIDv7 values #1182

GitHub Actions / .NET Tests succeeded Oct 6, 2024 in 0s

395 passed, 1 failed and 0 skipped

Tests failed

Report Passed Failed Skipped Time
./test-results/SecretStore.Test_Unit_net8.0_20241006194022.trx 2✅ 3s
./test-results/SlimMessageBus.Host.AspNetCore.Test_Unit_net8.0_20241006194032.trx 2✅ 10s
./test-results/SlimMessageBus.Host.AsyncApi.Test_Unit_net8.0_20241006194014.trx 2✅ 8s
./test-results/SlimMessageBus.Host.AzureEventHub.Test_Unit_net8.0_20241006193943.trx 12s
./test-results/SlimMessageBus.Host.AzureServiceBus.Test_Unit_net8.0_20241006193953.trx 25✅ 10s
./test-results/SlimMessageBus.Host.Benchmark_Unit_net8.0_20241006193955.trx 1s
./test-results/SlimMessageBus.Host.Configuration.Test_Unit_net8.0_20241006194014.trx 40✅ 9s
./test-results/SlimMessageBus.Host.FluentValidation.Test_Unit_net8.0_20241006194004.trx 8✅ 8s
./test-results/SlimMessageBus.Host.Integration.Test_Unit_net8.0_20241006194003.trx 9s
./test-results/SlimMessageBus.Host.Kafka.Test_Unit_net8.0_20241006193943.trx 28✅ 11s
./test-results/SlimMessageBus.Host.Memory.Benchmark_Unit_net8.0_20241006193957.trx 980ms
./test-results/SlimMessageBus.Host.Memory.Test_Unit_net8.0_20241006193949.trx 23✅ 12s
./test-results/SlimMessageBus.Host.Mqtt.Test_Unit_net8.0_20241006194016.trx 8s
./test-results/SlimMessageBus.Host.Nats.Test_Unit_net8.0_20241006194029.trx 7s
./test-results/SlimMessageBus.Host.Outbox.DbContext.Test_Unit_net8.0_20241006194012.trx 14s
./test-results/SlimMessageBus.Host.Outbox.Sql.Test_Unit_net8.0_20241006194122.trx 12✅ 1❌ 60s
./test-results/SlimMessageBus.Host.Outbox.Test_Unit_net8.0_20241006194025.trx 32✅ 9s
./test-results/SlimMessageBus.Host.RabbitMQ.Test_Unit_net8.0_20241006194022.trx 12✅ 9s
./test-results/SlimMessageBus.Host.Redis.Test_Unit_net8.0_20241006193953.trx 1✅ 9s
./test-results/SlimMessageBus.Host.Serialization.Avro.Test_Unit_net8.0_20241006194018.trx 1✅ 4s
./test-results/SlimMessageBus.Host.Serialization.Benchmark_Unit_net8.0_20241006193951.trx 1s
./test-results/SlimMessageBus.Host.Serialization.GoogleProtobuf.Test_Unit_net8.0_20241006193956.trx 2✅ 4s
./test-results/SlimMessageBus.Host.Serialization.Hybrid.Test_Unit_net8.0_20241006194022.trx 7✅ 8s
./test-results/SlimMessageBus.Host.Serialization.Json.Test_Unit_net8.0_20241006194007.trx 8✅ 4s
./test-results/SlimMessageBus.Host.Serialization.SystemTextJson.Test_Unit_net8.0_20241006194005.trx 10✅ 4s
./test-results/SlimMessageBus.Host.Test_Unit_net8.0_20241006194000.trx 178✅ 29s
./test-results/SlimMessageBus.Test_Unit_net8.0_20241006193936.trx 2✅ 4s

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

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

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

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

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

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

✅ ./test-results/SlimMessageBus.Host.AsyncApi.Test_Unit_net8.0_20241006194014.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✅ 34ms

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

No tests found

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

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

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.AzureServiceBus.Test.ServiceBusMessageBusSettingsTests 6✅ 319ms
SlimMessageBus.Host.AzureServiceBus.Test.ServiceBusMessageBusTests 5✅ 579ms
SlimMessageBus.Host.AzureServiceBus.Test.ServiceBusTopologyServiceTests+ProvisionTopologyTests 14✅ 548ms

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

No tests found

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

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

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.Configuration.Test.MessageConsumerContextTest 1✅ 69ms
SlimMessageBus.Host.Test.Config.AbstractConsumerBuilderTest 5✅ 31ms
SlimMessageBus.Host.Test.Config.ConsumerBuilderTest 10✅ 347ms
SlimMessageBus.Host.Test.Config.HandlerBuilderTest 8✅ 446ms
SlimMessageBus.Host.Test.Config.HasProviderExtensionsTest 8✅ 247ms
SlimMessageBus.Host.Test.Config.MessageBusBuilderTests 6✅ 210ms
SlimMessageBus.Host.Test.Config.ProducerBuilderTest 1✅ 42ms
SlimMessageBus.Host.Test.Config.RequestResponseBuilderTest 1✅ 39ms

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

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

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.FluentValidation.Test.AbstractValidationInterceptorTests 2✅ 211ms
SlimMessageBus.Host.FluentValidation.Test.ConsumerValidationInterceptorTests 2✅ 199ms
SlimMessageBus.Host.FluentValidation.Test.HandlerValidationInterceptorTests 2✅ 200ms
SlimMessageBus.Host.FluentValidation.Test.ProducerValidationInterceptorTests 2✅ 206ms

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

No tests found

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

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

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.Kafka.Test.DefaultKafkaHeaderSerializerTest 8✅ 61ms
SlimMessageBus.Host.Kafka.Test.KafkaGroupConsumerTests 2✅ 457ms
SlimMessageBus.Host.Kafka.Test.KafkaMessageBusTest 2✅ 443ms
SlimMessageBus.Host.Kafka.Test.KafkaPartitionConsumerForConsumersTest 4✅ 131ms
SlimMessageBus.Host.Kafka.Test.KafkaPartitionConsumerForResponsesTest 6✅ 398ms
SlimMessageBus.Host.Kafka.Test.KafkaProducerBuilderExtensionsTest 4✅ 322ms
SlimMessageBus.Host.Kafka.Test.KafkaProducerSettingsExtensionsTest 2✅ 42ms

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

No tests found

✅ ./test-results/SlimMessageBus.Host.Memory.Test_Unit_net8.0_20241006193949.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✅ 809ms
SlimMessageBus.Host.Memory.Test.Consumers.MessageProcessorQueueTests 1✅ 803ms
SlimMessageBus.Host.Memory.Test.MemoryMessageBusBuilderTests 3✅ 127ms
SlimMessageBus.Host.Memory.Test.MemoryMessageBusTests 18✅ 513ms

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

No tests found

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

No tests found

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

No tests found

❌ ./test-results/SlimMessageBus.Host.Outbox.Sql.Test_Unit_net8.0_20241006194122.trx

13 tests were completed in 60s with 12 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.Outbox.Sql.Test.SqlOutboxRepositoryTests+AbortDeliveryTests 1✅ 46ms
SlimMessageBus.Host.Outbox.Sql.Test.SqlOutboxRepositoryTests+DeleteSentTests 1❌ 65ms
SlimMessageBus.Host.Outbox.Sql.Test.SqlOutboxRepositoryTests+IncrementDeliveryAttemptTests 2✅ 1s
SlimMessageBus.Host.Outbox.Sql.Test.SqlOutboxRepositoryTests+LockAndSelectTests 4✅ 344ms
SlimMessageBus.Host.Outbox.Sql.Test.SqlOutboxRepositoryTests+RenewLockTests 3✅ 2s
SlimMessageBus.Host.Outbox.Sql.Test.SqlOutboxRepositoryTests+SaveTests 1✅ 1s
SlimMessageBus.Host.Outbox.Sql.Test.SqlOutboxRepositoryTests+UpdateToSentTests 1✅ 1s

❌ SlimMessageBus.Host.Outbox.Sql.Test.SqlOutboxRepositoryTests+DeleteSentTests

❌ ExpiredItems_AreDeleted
	System.InvalidCastException : Failed to convert parameter value from a DateTimeOffset to a DateTime.
	---- System.InvalidCastException : Object must implement IConvertible.

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

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

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.Outbox.Test.AsyncManualResetEventTests 7✅ 384ms
SlimMessageBus.Host.Outbox.Test.IEnumerableExtensionsTests+BatchTests 7✅ 217ms
SlimMessageBus.Host.Outbox.Test.Interceptors.OutboxForwardingPublishInterceptorTests+OnHandleTests 4✅ 453ms
SlimMessageBus.Host.Outbox.Test.Interceptors.OutboxForwardingPublishInterceptorTests+OrderTests 2✅ 272ms
SlimMessageBus.Host.Outbox.Test.OutboxLockRenewalTimerTests 5✅ 406ms
SlimMessageBus.Host.Outbox.Test.Services.OutboxSendingTaskTests+DispatchBatchTests 3✅ 117ms
SlimMessageBus.Host.Outbox.Test.Services.OutboxSendingTaskTests+ProcessMessagesTests 4✅ 71ms

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

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

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.RabbitMQ.Test.Config.RabbitMqConsumerBuilderExtensionsTests 1✅ 114ms
SlimMessageBus.Host.RabbitMQ.Test.Config.RabbitMqConsumerContextExtensionsTests 5✅ 305ms
SlimMessageBus.Host.RabbitMQ.Test.Config.RabbitMqMessageBusSettingsExtensionsTests 2✅ 242ms
SlimMessageBus.Host.RabbitMQ.Test.DefaultHeaderValueConverterTest 4✅ 63ms

✅ ./test-results/SlimMessageBus.Host.Redis.Test_Unit_net8.0_20241006193953.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✅ 781ms

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

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

No tests found

✅ ./test-results/SlimMessageBus.Host.Serialization.GoogleProtobuf.Test_Unit_net8.0_20241006193956.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✅ 76ms
SlimMessageBus.Host.Serialization.GoogleProtobuf.Test.SerializationBuilderExtensionsTest 1✅ 38ms

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

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

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

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

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

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.Serialization.Json.Test.JsonMessageSerializerTests 7✅ 45ms
SlimMessageBus.Host.Serialization.Json.Test.SerializationBuilderExtensionsTest 1✅ 41ms

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

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

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.Serialization.SystemTextJson.Test.JsonMessageSerializerTests 9✅ 135ms
SlimMessageBus.Host.Serialization.SystemTextJson.Test.SerializationBuilderExtensionsTest 1✅ 59ms

✅ ./test-results/SlimMessageBus.Host.Test_Unit_net8.0_20241006194000.trx

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

Test suite Passed Failed Skipped Time
SlimMessageBus.Host.Test.Collections.GenericTypeCacheTests 3✅ 35ms
SlimMessageBus.Host.Test.Collections.KindMappingTest 4✅ 6ms
SlimMessageBus.Host.Test.Collections.ProducerByMessageTypeCacheTests 9✅ 7ms
SlimMessageBus.Host.Test.Collections.RuntimeTypeCacheTests 7✅ 8ms
SlimMessageBus.Host.Test.Collections.SafeDictionaryWrapperTest 3✅ 52ms
SlimMessageBus.Host.Test.Collections.TaskOfTypeCacheTests 9✅ 52ms
SlimMessageBus.Host.Test.Consumer.CheckpointTriggerFactoryTests 2✅ 24ms
SlimMessageBus.Host.Test.Consumer.CheckpointTriggerTest 5✅ 3s
SlimMessageBus.Host.Test.Consumer.ConcurrencyIncreasingMessageProcessorDecoratorTest 2✅ 3s
SlimMessageBus.Host.Test.Consumer.MessageScopeWrapperTest 8✅ 13ms
SlimMessageBus.Host.Test.ConsumerInstanceMessageProcessorTest 18✅ 311ms
SlimMessageBus.Host.Test.ConsumerInterceptorPipelineTests 6✅ 106ms
SlimMessageBus.Host.Test.ConsumerSettingsTest 5✅ 1ms
SlimMessageBus.Host.Test.DependencyResolver.ConsumerMethodPostProcessorTest 1✅ 17ms
SlimMessageBus.Host.Test.DependencyResolver.ServiceCollectionExtensionsTest 3✅ 45ms
SlimMessageBus.Host.Test.Hybrid.HybridMessageBusTest 21✅ 329ms
SlimMessageBus.Host.Test.MessageBusBaseTests 33✅ 12s
SlimMessageBus.Host.Test.MessageBusBaseTests+ProduceResponseTests 1✅ 23ms
SlimMessageBus.Host.Test.MessageHandlerTest 7✅ 994ms
SlimMessageBus.Host.Test.MessageWithHeadersSerializerTests 4✅ 6ms
SlimMessageBus.Host.Test.PendingRequestManagerTest 2✅ 21ms
SlimMessageBus.Host.Test.PublishInterceptorPipelineTests 3✅ 101ms
SlimMessageBus.Host.Test.ReflectionUtilsTests 11✅ 125ms
SlimMessageBus.Host.Test.RetryTests+WithDelay 6✅ 192ms
SlimMessageBus.Host.Test.SendInterceptorPipelineTests 3✅ 122ms
SlimMessageBus.Host.Test.Services.MessageHeaderServiceTests 2✅ 20ms

✅ ./test-results/SlimMessageBus.Test_Unit_net8.0_20241006193936.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✅ 205ms

Annotations

Check failure on line 67 in src/Tests/SlimMessageBus.Host.Outbox.Sql.Test/SqlOutboxRepositoryTests.cs

See this annotation in the file changed.

@github-actions github-actions / .NET Tests

SlimMessageBus.Host.Outbox.Sql.Test.SqlOutboxRepositoryTests+DeleteSentTests ► ExpiredItems_AreDeleted

Failed test found in:
  ./test-results/SlimMessageBus.Host.Outbox.Sql.Test_Unit_net8.0_20241006194122.trx
Error:
  System.InvalidCastException : Failed to convert parameter value from a DateTimeOffset to a DateTime.
  ---- System.InvalidCastException : Object must implement IConvertible.
Raw output
System.InvalidCastException : Failed to convert parameter value from a DateTimeOffset to a DateTime.
---- System.InvalidCastException : Object must implement IConvertible.
   at Microsoft.Data.SqlClient.SqlParameter.CoerceValue(Object value, MetaType destinationType, Boolean& coercedToDataFeed, Boolean& typeChanged, Boolean allowStreaming)
   at Microsoft.Data.SqlClient.SqlParameter.GetCoercedValue()
   at Microsoft.Data.SqlClient.SqlParameter.Validate(Int32 index, Boolean isCommandProc)
   at Microsoft.Data.SqlClient.SqlCommand.BuildParamList(TdsParser parser, SqlParameterCollection parameters, Boolean includeReturnValue)
   at Microsoft.Data.SqlClient.SqlCommand.BuildExecuteSql(CommandBehavior behavior, String commandText, SqlParameterCollection parameters, _SqlRPC& rpc)
   at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean isAsync, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
   at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry, String method)
   at Microsoft.Data.SqlClient.SqlCommand.BeginExecuteNonQueryInternal(CommandBehavior behavior, AsyncCallback callback, Object stateObject, Int32 timeout, Boolean inRetry, Boolean asyncWrite)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncImpl(Func`3 beginMethod, Func`2 endFunction, Action`1 endAction, Object state, TaskCreationOptions creationOptions)
   at Microsoft.Data.SqlClient.SqlCommand.InternalExecuteNonQueryAsync(CancellationToken cancellationToken)
--- End of stack trace from previous location ---
   at SlimMessageBus.Host.Sql.Common.CommonSqlRepository.<>c__DisplayClass14_0.<<ExecuteNonQuery>b__0>d.MoveNext() in /_/src/SlimMessageBus.Host.Sql.Common/CommonSqlRepository.cs:line 49
--- End of stack trace from previous location ---
   at SlimMessageBus.Host.Sql.Common.SqlHelper.RetryIfError[TResult](ILogger logger, SqlRetrySettings retrySettings, Func`2 shouldRetry, Func`1 operation, CancellationToken token) in /_/src/SlimMessageBus.Host.Sql.Common/SqlHelper.cs:line 27
   at SlimMessageBus.Host.Outbox.Sql.SqlOutboxMessageRepository.DeleteSent(DateTimeOffset olderThan, CancellationToken cancellationToken) in /_/src/SlimMessageBus.Host.Outbox.Sql/SqlOutboxMessageRepository.cs:line 171
   at SlimMessageBus.Host.Outbox.Sql.Test.SqlOutboxRepositoryTests.DeleteSentTests.ExpiredItems_AreDeleted() in /home/runner/work/SlimMessageBus/SlimMessageBus/src/Tests/SlimMessageBus.Host.Outbox.Sql.Test/SqlOutboxRepositoryTests.cs:line 67
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
   at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
   at Microsoft.Data.SqlClient.SqlParameter.CoerceValue(Object value, MetaType destinationType, Boolean& coercedToDataFeed, Boolean& typeChanged, Boolean allowStreaming)