Fix StatusRequestTestAsync Naive
MODIFY
WalletWasabi.Tests/RegressionTests/BackendTests.cs
WalletWasabi.Tests/RegressionTests/BackendTests.cs
@@ -244,6 +244,8 @@ namespace WalletWasabi.Tests.RegressionTests
var blockchainController = (BlockchainController)RegTestFixture.BackendHost.Services.GetService(typeof(BlockchainController));
blockchainController.Cache.Remove($"{nameof(BlockchainController.GetStatusAsync)}");
+ global.IndexBuilderService.LastFilterBuildTime = DateTimeOffset.Now - TimeSpan.FromMinutes(21);
+
response = await client.TorClient.SendAndRetryAsync(HttpMethod.Get, HttpStatusCode.OK, Request);
using (HttpContent content = response.Content)
{

MODIFY
WalletWasabi/Blockchain/BlockFilters/IndexBuilderService.cs
WalletWasabi/Blockchain/BlockFilters/IndexBuilderService.cs
@@ -74,7 +74,7 @@ namespace WalletWasabi.Blockchain.BlockFilters
public uint StartingHeight { get; }
public bool IsRunning => Interlocked.Read(ref _serviceStatus) == Running;
public bool IsStopping => Interlocked.Read(ref _serviceStatus) >= Stopping;
- public DateTimeOffset LastFilterBuildTime { get; private set; }
+ public DateTimeOffset LastFilterBuildTime { get; set; }
public static GolombRiceFilter CreateDummyEmptyFilter(uint256 blockHash)
{

Fix StatusRequestTestAsync Naive