mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-05-27 11:40:05 +00:00
Increases timeout in swarm tests. Reducing filesizes for marketplace tests.
This commit is contained in:
parent
944404cef7
commit
be2f266278
@ -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(
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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();
|
||||
|
||||
@ -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();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user