Setup values for two-client test run.
This commit is contained in:
parent
a528c0111d
commit
937c3db160
|
@ -6,7 +6,7 @@ namespace ContinuousTests.Tests
|
||||||
public class HoldMyBeerTest : ContinuousTest
|
public class HoldMyBeerTest : ContinuousTest
|
||||||
{
|
{
|
||||||
public override int RequiredNumberOfNodes => 1;
|
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;
|
public override TestFailMode TestFailMode => TestFailMode.StopAfterFirstFailure;
|
||||||
|
|
||||||
private ContentId? cid;
|
private ContentId? cid;
|
||||||
|
|
|
@ -7,7 +7,7 @@ namespace ContinuousTests.Tests
|
||||||
public class PeersTest : ContinuousTest
|
public class PeersTest : ContinuousTest
|
||||||
{
|
{
|
||||||
public override int RequiredNumberOfNodes => -1;
|
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;
|
public override TestFailMode TestFailMode => TestFailMode.AlwaysRunAllMoments;
|
||||||
|
|
||||||
[TestMoment(t: 0)]
|
[TestMoment(t: 0)]
|
||||||
|
|
|
@ -6,7 +6,7 @@ namespace ContinuousTests.Tests
|
||||||
public class TwoClientTest : ContinuousTest
|
public class TwoClientTest : ContinuousTest
|
||||||
{
|
{
|
||||||
public override int RequiredNumberOfNodes => 2;
|
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;
|
public override TestFailMode TestFailMode => TestFailMode.StopAfterFirstFailure;
|
||||||
|
|
||||||
private ContentId? cid;
|
private ContentId? cid;
|
||||||
|
@ -15,7 +15,7 @@ namespace ContinuousTests.Tests
|
||||||
[TestMoment(t: Zero)]
|
[TestMoment(t: Zero)]
|
||||||
public void UploadTestFile()
|
public void UploadTestFile()
|
||||||
{
|
{
|
||||||
file = FileManager.GenerateTestFile(10.MB());
|
file = FileManager.GenerateTestFile(80.MB());
|
||||||
|
|
||||||
cid = UploadFile(Nodes[0], file);
|
cid = UploadFile(Nodes[0], file);
|
||||||
Assert.That(cid, Is.Not.Null);
|
Assert.That(cid, Is.Not.Null);
|
||||||
|
|
Loading…
Reference in New Issue