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() 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);

View File

@ -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>();

View File

@ -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()