mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-01-07 16:03:07 +00:00
Enables repair test. It now passes. Reduces duration of sequential contracts test
This commit is contained in:
parent
639ff6c73e
commit
d9ca905cd9
@ -29,13 +29,11 @@ namespace CodexReleaseTests.MarketTests
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
[Ignore("Test is ready. Waiting for repair implementation. " +
|
|
||||||
"Slots are never freed because proofs are never marked as missing. Issue: https://github.com/codex-storage/nim-codex/issues/1153")]
|
|
||||||
[Test]
|
[Test]
|
||||||
[Combinatorial]
|
[Combinatorial]
|
||||||
public void RollingRepairSingleFailure(
|
public void RollingRepairSingleFailure(
|
||||||
[Rerun] int rerun,
|
[Rerun] int rerun,
|
||||||
[Values(10)] int numFailures)
|
[Values(5)] int numFailures)
|
||||||
{
|
{
|
||||||
var hosts = StartHosts().ToList();
|
var hosts = StartHosts().ToList();
|
||||||
var client = StartClients().Single();
|
var client = StartClients().Single();
|
||||||
|
|||||||
@ -27,7 +27,7 @@ namespace CodexReleaseTests.MarketTests
|
|||||||
[Test]
|
[Test]
|
||||||
[Combinatorial]
|
[Combinatorial]
|
||||||
public void Sequential(
|
public void Sequential(
|
||||||
[Values(10)] int numGenerations)
|
[Values(5)] int numGenerations)
|
||||||
{
|
{
|
||||||
var hosts = StartHosts();
|
var hosts = StartHosts();
|
||||||
var clients = StartClients();
|
var clients = StartClients();
|
||||||
@ -93,7 +93,7 @@ namespace CodexReleaseTests.MarketTests
|
|||||||
MinRequiredNumberOfNodes = (uint)purchaseParams.Nodes,
|
MinRequiredNumberOfNodes = (uint)purchaseParams.Nodes,
|
||||||
NodeFailureTolerance = (uint)purchaseParams.Tolerance,
|
NodeFailureTolerance = (uint)purchaseParams.Tolerance,
|
||||||
PricePerBytePerSecond = pricePerBytePerSecond,
|
PricePerBytePerSecond = pricePerBytePerSecond,
|
||||||
ProofProbability = 10000,
|
ProofProbability = 100000,
|
||||||
CollateralPerByte = 1.TstWei()
|
CollateralPerByte = 1.TstWei()
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user