mirror of
https://github.com/codex-storage/cs-codex-dist-tests.git
synced 2025-02-13 20:46:37 +00:00
Debugging long test
This commit is contained in:
parent
511c6870ed
commit
2eced9ccc9
@ -41,11 +41,11 @@ namespace CodexDistTests.BasicTests
|
|||||||
public void OneClientLargeFileTest()
|
public void OneClientLargeFileTest()
|
||||||
{
|
{
|
||||||
var primary = SetupCodexNode()
|
var primary = SetupCodexNode()
|
||||||
.WithLogLevel(CodexLogLevel.Trace)
|
.WithLogLevel(CodexLogLevel.Warn)
|
||||||
.WithStorageQuota(100.GB())
|
.WithStorageQuota(10.GB())
|
||||||
.BringOnline();
|
.BringOnline();
|
||||||
|
|
||||||
var testFile = GenerateTestFile(40.GB());
|
var testFile = GenerateTestFile(1.GB());
|
||||||
|
|
||||||
var contentId = primary.UploadFile(testFile);
|
var contentId = primary.UploadFile(testFile);
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ namespace CodexDistTests.TestCore
|
|||||||
|
|
||||||
public class FileManager : IFileManager
|
public class FileManager : IFileManager
|
||||||
{
|
{
|
||||||
public const int ChunkSize = 1024;
|
public const int ChunkSize = 1024 * 1024;
|
||||||
private const string Folder = "TestDataFiles";
|
private const string Folder = "TestDataFiles";
|
||||||
private readonly Random random = new Random();
|
private readonly Random random = new Random();
|
||||||
private readonly List<TestFile> activeFiles = new List<TestFile>();
|
private readonly List<TestFile> activeFiles = new List<TestFile>();
|
||||||
|
@ -89,7 +89,7 @@ namespace CodexDistTests.TestCore
|
|||||||
{
|
{
|
||||||
public TimeSpan HttpCallTimeout()
|
public TimeSpan HttpCallTimeout()
|
||||||
{
|
{
|
||||||
return TimeSpan.FromMinutes(30);
|
return TimeSpan.FromHours(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
public int HttpCallRetryCount()
|
public int HttpCallRetryCount()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user