From 0c4e5434f6edf570cf9ee818d5a79ab86f9ee219 Mon Sep 17 00:00:00 2001 From: "Eric J. Smith" Date: Wed, 7 Aug 2024 15:40:37 -0500 Subject: [PATCH 1/4] Adapt to SystemClock removal --- .../Foundatio.RabbitMQ.Tests/Foundatio.RabbitMQ.Tests.csproj | 5 +++++ .../Messaging/RabbitMqMessageBusTests.cs | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/Foundatio.RabbitMQ.Tests/Foundatio.RabbitMQ.Tests.csproj b/tests/Foundatio.RabbitMQ.Tests/Foundatio.RabbitMQ.Tests.csproj index 96c9805..d0c6446 100644 --- a/tests/Foundatio.RabbitMQ.Tests/Foundatio.RabbitMQ.Tests.csproj +++ b/tests/Foundatio.RabbitMQ.Tests/Foundatio.RabbitMQ.Tests.csproj @@ -2,4 +2,9 @@ + + + docker-compose.yml + + \ No newline at end of file diff --git a/tests/Foundatio.RabbitMQ.Tests/Messaging/RabbitMqMessageBusTests.cs b/tests/Foundatio.RabbitMQ.Tests/Messaging/RabbitMqMessageBusTests.cs index 4116567..b44e41c 100644 --- a/tests/Foundatio.RabbitMQ.Tests/Messaging/RabbitMqMessageBusTests.cs +++ b/tests/Foundatio.RabbitMQ.Tests/Messaging/RabbitMqMessageBusTests.cs @@ -5,7 +5,6 @@ using Foundatio.Messaging; using Foundatio.Tests.Extensions; using Foundatio.Tests.Messaging; -using Foundatio.Utility; using Microsoft.Extensions.Logging; using Xunit; using Xunit.Abstractions; @@ -14,7 +13,7 @@ namespace Foundatio.RabbitMQ.Tests.Messaging; public class RabbitMqMessageBusTests : MessageBusTestBase { - private readonly string _topic = $"test_topic_{SystemClock.UtcNow.Ticks}"; + private readonly string _topic = $"test_topic_{DateTime.UtcNow.Ticks}"; public RabbitMqMessageBusTests(ITestOutputHelper output) : base(output) { } protected override IMessageBus GetMessageBus(Func config = null) From 14fd6902e2a9397e9dcdfd7075ccf602ef4b9686 Mon Sep 17 00:00:00 2001 From: "Eric J. Smith" Date: Wed, 7 Aug 2024 20:37:57 -0500 Subject: [PATCH 2/4] Update deps --- src/Foundatio.RabbitMQ/Foundatio.RabbitMQ.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Foundatio.RabbitMQ/Foundatio.RabbitMQ.csproj b/src/Foundatio.RabbitMQ/Foundatio.RabbitMQ.csproj index 2123c87..debcfe6 100644 --- a/src/Foundatio.RabbitMQ/Foundatio.RabbitMQ.csproj +++ b/src/Foundatio.RabbitMQ/Foundatio.RabbitMQ.csproj @@ -2,7 +2,7 @@ - + From 6e6f07813efca3c3aafa91fc0af29f2ea1f09d8a Mon Sep 17 00:00:00 2001 From: "Eric J. Smith" Date: Wed, 7 Aug 2024 20:47:28 -0500 Subject: [PATCH 3/4] Update test deps --- tests/Directory.Build.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Directory.Build.props b/tests/Directory.Build.props index 7ce35d7..4f770db 100644 --- a/tests/Directory.Build.props +++ b/tests/Directory.Build.props @@ -12,7 +12,7 @@ - + From b437efd46c3508a67f8ff9088db37bc495955f0e Mon Sep 17 00:00:00 2001 From: "Eric J. Smith" Date: Fri, 30 Aug 2024 16:34:05 -0500 Subject: [PATCH 4/4] Update deps --- src/Foundatio.RabbitMQ/Foundatio.RabbitMQ.csproj | 2 +- tests/Directory.Build.props | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Foundatio.RabbitMQ/Foundatio.RabbitMQ.csproj b/src/Foundatio.RabbitMQ/Foundatio.RabbitMQ.csproj index debcfe6..9a985d5 100644 --- a/src/Foundatio.RabbitMQ/Foundatio.RabbitMQ.csproj +++ b/src/Foundatio.RabbitMQ/Foundatio.RabbitMQ.csproj @@ -2,7 +2,7 @@ - + diff --git a/tests/Directory.Build.props b/tests/Directory.Build.props index 4f770db..4720cb9 100644 --- a/tests/Directory.Build.props +++ b/tests/Directory.Build.props @@ -6,13 +6,13 @@ $(NoWarn);CS1591;NU1701 - - - + + + - + - +