Fixes test for cloud environment

This commit is contained in:
benbierens 2023-08-22 09:06:44 +02:00
parent ce3850b0b0
commit 7e5121a642
No known key found for this signature in database
GPG Key ID: FE44815D96D0A1AA
2 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ namespace ContinuousTests.Tests
});
var dl = DownloadFile(Nodes[1], cid!);
var dl = DownloadFile(Nodes[0], cid!);
file.AssertIsEqual(dl);
Stopwatch.Measure(Log, "download-log-asserts", () =>

View File

@ -64,9 +64,9 @@ namespace Tests.BasicTests
{
var blockExpirationTime = TimeSpan.FromMinutes(3);
var group = SetupCodexNodes(3, o => o
//.EnableMetrics()
.EnableMetrics()
.WithBlockTTL(blockExpirationTime)
.WithBlockMaintenanceInterval(TimeSpan.FromMinutes(1))
.WithBlockMaintenanceInterval(TimeSpan.FromMinutes(2))
.WithBlockMaintenanceNumber(10000)
.WithStorageQuota(2000.MB()));