Enables repair test. It now passes. Reduces duration of sequential contracts test

This commit is contained in:
ThatBen 2025-07-11 10:14:09 +02:00
parent 639ff6c73e
commit d9ca905cd9
No known key found for this signature in database
GPG Key ID: 62C543548433D43E
2 changed files with 3 additions and 5 deletions

View File

@ -29,13 +29,11 @@ namespace CodexReleaseTests.MarketTests
#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]
[Combinatorial]
public void RollingRepairSingleFailure(
[Rerun] int rerun,
[Values(10)] int numFailures)
[Values(5)] int numFailures)
{
var hosts = StartHosts().ToList();
var client = StartClients().Single();

View File

@ -27,7 +27,7 @@ namespace CodexReleaseTests.MarketTests
[Test]
[Combinatorial]
public void Sequential(
[Values(10)] int numGenerations)
[Values(5)] int numGenerations)
{
var hosts = StartHosts();
var clients = StartClients();
@ -93,7 +93,7 @@ namespace CodexReleaseTests.MarketTests
MinRequiredNumberOfNodes = (uint)purchaseParams.Nodes,
NodeFailureTolerance = (uint)purchaseParams.Tolerance,
PricePerBytePerSecond = pricePerBytePerSecond,
ProofProbability = 10000,
ProofProbability = 100000,
CollateralPerByte = 1.TstWei()
});
}