moves to 80MB and long timeouts
This commit is contained in:
parent
eaf5db5e91
commit
68d19353aa
|
@ -9,6 +9,7 @@ namespace Tests.BasicTests
|
||||||
public class ContinuousSubstitute : AutoBootstrapDistTest
|
public class ContinuousSubstitute : AutoBootstrapDistTest
|
||||||
{
|
{
|
||||||
[Test]
|
[Test]
|
||||||
|
[UseLongTimeouts]
|
||||||
public void ContinuousTestSubstitute()
|
public void ContinuousTestSubstitute()
|
||||||
{
|
{
|
||||||
var nodes = new List<OnlineCodexNode>();
|
var nodes = new List<OnlineCodexNode>();
|
||||||
|
@ -51,7 +52,7 @@ namespace Tests.BasicTests
|
||||||
Log("Run Test");
|
Log("Run Test");
|
||||||
PerformTest(primary, secondary);
|
PerformTest(primary, secondary);
|
||||||
|
|
||||||
Thread.Sleep(TimeSpan.FromSeconds(30));
|
Thread.Sleep(TimeSpan.FromSeconds(5));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
|
@ -61,7 +62,7 @@ namespace Tests.BasicTests
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private ByteSize fileSize = 10.MB();
|
private ByteSize fileSize = 80.MB();
|
||||||
|
|
||||||
private void PerformTest(IOnlineCodexNode primary, IOnlineCodexNode secondary)
|
private void PerformTest(IOnlineCodexNode primary, IOnlineCodexNode secondary)
|
||||||
{
|
{
|
||||||
|
@ -74,8 +75,6 @@ namespace Tests.BasicTests
|
||||||
var downloadedFile = secondary.DownloadContent(contentId);
|
var downloadedFile = secondary.DownloadContent(contentId);
|
||||||
|
|
||||||
testFile.AssertIsEqual(downloadedFile);
|
testFile.AssertIsEqual(downloadedFile);
|
||||||
|
|
||||||
fileSize = (fileSize.SizeInBytes * 2).Bytes();
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue