Increases timeout in swarm tests. Reducing filesizes for marketplace tests.

This commit is contained in:
ThatBen 2025-07-09 19:38:53 +02:00
parent 944404cef7
commit be2f266278
No known key found for this signature in database
GPG Key ID: 62C543548433D43E
5 changed files with 5 additions and 5 deletions

View File

@ -389,7 +389,7 @@ namespace CodexClient
public void WaitUntilQuotaUsedIncreased(CodexSpace startSpace, ByteSize expectedIncreaseOfQuotaUsed)
{
WaitUntilQuotaUsedIncreased(startSpace, expectedIncreaseOfQuotaUsed, TimeSpan.FromMinutes(10));
WaitUntilQuotaUsedIncreased(startSpace, expectedIncreaseOfQuotaUsed, TimeSpan.FromMinutes(30));
}
public void WaitUntilQuotaUsedIncreased(

View File

@ -89,7 +89,7 @@ namespace CodexReleaseTests.DataTests
var file = remaining.PickOneRandom();
try
{
var dl = node.DownloadContent(file.Cid);
var dl = node.DownloadContent(file.Cid, TimeSpan.FromMinutes(30));
lock (file.Lock)
{
file.Downloaded.Add(dl);

View File

@ -68,7 +68,7 @@ namespace CodexReleaseTests.MarketTests
private IStoragePurchaseContract CreateStorageRequest(ICodexNode client)
{
var cid = client.UploadFile(GenerateTestFile(5.MB()));
var cid = client.UploadFile(GenerateTestFile(3.MB()));
return client.Marketplace.RequestStorage(new StoragePurchaseRequest(cid)
{
Duration = HostAvailabilityMaxDuration / 2,

View File

@ -12,7 +12,7 @@ namespace CodexReleaseTests.MarketTests
public FinishTest(int hosts, int slots, int tolerance)
{
this.hosts = hosts;
purchaseParams = new PurchaseParams(slots, tolerance, uploadFilesize: 10.MB());
purchaseParams = new PurchaseParams(slots, tolerance, uploadFilesize: 3.MB());
}
private readonly TestToken pricePerBytePerSecond = 10.TstWei();

View File

@ -11,7 +11,7 @@ namespace CodexReleaseTests.MarketTests
private readonly PurchaseParams purchaseParams = new PurchaseParams(
nodes: 3,
tolerance: 1,
uploadFilesize: 10.MB()
uploadFilesize: 3.MB()
);
private readonly TestToken pricePerBytePerSecond = 10.TstWei();