mirror of
https://github.com/vacp2p/cs-codex-dist-tests.git
synced 2025-02-23 15:58:21 +00:00
27 lines
706 B
C#
27 lines
706 B
C#
using CodexDistTestCore;
|
|
using NUnit.Framework;
|
|
|
|
namespace LongTests.BasicTests
|
|
{
|
|
[TestFixture]
|
|
public class SimpleTests : DistTest
|
|
{
|
|
[Test, UseLongTimeouts]
|
|
public void OneClientLargeFileTest()
|
|
{
|
|
var primary = SetupCodexNode()
|
|
.WithLogLevel(CodexLogLevel.Warn)
|
|
.WithStorageQuota(10.GB())
|
|
.BringOnline();
|
|
|
|
var testFile = GenerateTestFile(1.GB());
|
|
|
|
var contentId = primary.UploadFile(testFile);
|
|
|
|
var downloadedFile = primary.DownloadContent(contentId);
|
|
|
|
testFile.AssertIsEqual(downloadedFile);
|
|
}
|
|
}
|
|
}
|