Debugging long test

This commit is contained in:
benbierens 2023-03-21 11:41:05 +01:00
parent 511c6870ed
commit 2eced9ccc9
No known key found for this signature in database
GPG Key ID: FE44815D96D0A1AA
3 changed files with 5 additions and 5 deletions

View File

@ -41,11 +41,11 @@ namespace CodexDistTests.BasicTests
public void OneClientLargeFileTest()
{
var primary = SetupCodexNode()
.WithLogLevel(CodexLogLevel.Trace)
.WithStorageQuota(100.GB())
.WithLogLevel(CodexLogLevel.Warn)
.WithStorageQuota(10.GB())
.BringOnline();
var testFile = GenerateTestFile(40.GB());
var testFile = GenerateTestFile(1.GB());
var contentId = primary.UploadFile(testFile);

View File

@ -11,7 +11,7 @@ namespace CodexDistTests.TestCore
public class FileManager : IFileManager
{
public const int ChunkSize = 1024;
public const int ChunkSize = 1024 * 1024;
private const string Folder = "TestDataFiles";
private readonly Random random = new Random();
private readonly List<TestFile> activeFiles = new List<TestFile>();

View File

@ -89,7 +89,7 @@ namespace CodexDistTests.TestCore
{
public TimeSpan HttpCallTimeout()
{
return TimeSpan.FromMinutes(30);
return TimeSpan.FromHours(2);
}
public int HttpCallRetryCount()