diff --git a/.github/workflows/base.yml b/.github/workflows/base.yml index c57a9ce3d..7b52c4e78 100644 --- a/.github/workflows/base.yml +++ b/.github/workflows/base.yml @@ -25,7 +25,7 @@ jobs: strategy: fail-fast: false matrix: - framework: [ net9.0 ] + framework: [ net8.0 ] os: [ ubuntu-latest ] configuration: [ release ] runs-on: ${{ matrix.os }} diff --git a/test/Kurrent.Client.Tests.Common/Fixtures/KurrentPermanentFixture.cs b/test/Kurrent.Client.Tests.Common/Fixtures/KurrentPermanentFixture.cs index 2530126e0..f3912dad2 100644 --- a/test/Kurrent.Client.Tests.Common/Fixtures/KurrentPermanentFixture.cs +++ b/test/Kurrent.Client.Tests.Common/Fixtures/KurrentPermanentFixture.cs @@ -37,9 +37,9 @@ protected KurrentPermanentFixture(ConfigureFixture configure) { public ILogger Log => Logger; - public ITestService Service { get; } + public ITestService Service { get; } public KurrentFixtureOptions Options { get; } - public Faker Faker { get; } = new Faker(); + public Faker Faker { get; } = new Faker(); public Version EventStoreVersion { get; private set; } = null!; public bool EventStoreHasLastStreamPosition { get; private set; } @@ -87,13 +87,12 @@ public async Task InitializeAsync() { await ContainerSemaphore.WaitAsync(); try { await Service.Start(); + EventStoreVersion = GetEventStoreVersion(); + EventStoreHasLastStreamPosition = (EventStoreVersion?.Major ?? int.MaxValue) >= 21; } finally { ContainerSemaphore.Release(); } - EventStoreVersion = GetEventStoreVersion(); - EventStoreHasLastStreamPosition = (EventStoreVersion?.Major ?? int.MaxValue) >= 21; - await WarmUpGatekeeper.WaitAsync(); try { diff --git a/test/Kurrent.Client.Tests.Common/Fixtures/KurrentTemporaryFixture.cs b/test/Kurrent.Client.Tests.Common/Fixtures/KurrentTemporaryFixture.cs index c0c054e1c..f0f2c2281 100644 --- a/test/Kurrent.Client.Tests.Common/Fixtures/KurrentTemporaryFixture.cs +++ b/test/Kurrent.Client.Tests.Common/Fixtures/KurrentTemporaryFixture.cs @@ -40,9 +40,9 @@ protected KurrentTemporaryFixture(ConfigureFixture configure) { public ILogger Log => Logger; - public ITestService Service { get; } + public ITestService Service { get; } public KurrentFixtureOptions Options { get; } - public Faker Faker { get; } = new Faker(); + public Faker Faker { get; } = new Faker(); public Version EventStoreVersion { get; private set; } = null!; public bool EventStoreHasLastStreamPosition { get; private set; } @@ -89,13 +89,12 @@ public async Task InitializeAsync() { await ContainerSemaphore.WaitAsync(); try { await Service.Start(); + EventStoreVersion = GetEventStoreVersion(); + EventStoreHasLastStreamPosition = (EventStoreVersion?.Major ?? int.MaxValue) >= 21; } finally { ContainerSemaphore.Release(); } - EventStoreVersion = GetEventStoreVersion(); - EventStoreHasLastStreamPosition = (EventStoreVersion?.Major ?? int.MaxValue) >= 21; - await WarmUpGatekeeper.WaitAsync(); try {