2
0
mirror of synced 2025-01-13 01:54:07 +00:00
2023-05-31 13:34:12 +02:00

25 lines
598 B
C#

using DistTestCore;
using NUnit.Framework;
namespace TestsLong.BasicTests
{
[TestFixture]
public class LargeFileTests : DistTest
{
[Test, UseLongTimeouts]
public void OneClientLargeFileTest()
{
var primary = SetupCodexNode(s => s
.WithStorageQuota(20.GB()));
var testFile = GenerateTestFile(10.GB());
var contentId = primary.UploadFile(testFile);
var downloadedFile = primary.DownloadContent(contentId);
testFile.AssertIsEqual(downloadedFile);
}
}
}