25 lines
563 B
C#
25 lines
563 B
C#
using DistTestCore;
|
|
using NUnit.Framework;
|
|
|
|
namespace Tests.BasicTests
|
|
{
|
|
[TestFixture]
|
|
public class ThreeClientTest : AutoBootstrapDistTest
|
|
{
|
|
[Test]
|
|
public void ThreeClient()
|
|
{
|
|
var primary = SetupCodexNode();
|
|
var secondary = SetupCodexNode();
|
|
|
|
var testFile = GenerateTestFile(10.MB());
|
|
|
|
var contentId = primary.UploadFile(testFile);
|
|
|
|
var downloadedFile = secondary.DownloadContent(contentId);
|
|
|
|
testFile.AssertIsEqual(downloadedFile);
|
|
}
|
|
}
|
|
}
|