Setup values for two-client test run.

This commit is contained in:
benbierens 2023-09-04 09:19:04 +02:00
parent a528c0111d
commit 937c3db160
No known key found for this signature in database
GPG Key ID: FE44815D96D0A1AA
3 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ namespace ContinuousTests.Tests
public class HoldMyBeerTest : ContinuousTest
{
public override int RequiredNumberOfNodes => 1;
public override TimeSpan RunTestEvery => TimeSpan.FromMinutes(5);
public override TimeSpan RunTestEvery => TimeSpan.FromMinutes(2);
public override TestFailMode TestFailMode => TestFailMode.StopAfterFirstFailure;
private ContentId? cid;

View File

@ -7,7 +7,7 @@ namespace ContinuousTests.Tests
public class PeersTest : ContinuousTest
{
public override int RequiredNumberOfNodes => -1;
public override TimeSpan RunTestEvery => TimeSpan.FromSeconds(30);
public override TimeSpan RunTestEvery => TimeSpan.FromMinutes(2);
public override TestFailMode TestFailMode => TestFailMode.AlwaysRunAllMoments;
[TestMoment(t: 0)]

View File

@ -6,7 +6,7 @@ namespace ContinuousTests.Tests
public class TwoClientTest : ContinuousTest
{
public override int RequiredNumberOfNodes => 2;
public override TimeSpan RunTestEvery => TimeSpan.FromMinutes(1);
public override TimeSpan RunTestEvery => TimeSpan.FromMinutes(2);
public override TestFailMode TestFailMode => TestFailMode.StopAfterFirstFailure;
private ContentId? cid;
@ -15,7 +15,7 @@ namespace ContinuousTests.Tests
[TestMoment(t: Zero)]
public void UploadTestFile()
{
file = FileManager.GenerateTestFile(10.MB());
file = FileManager.GenerateTestFile(80.MB());
cid = UploadFile(Nodes[0], file);
Assert.That(cid, Is.Not.Null);