cs-codex-dist-tests/Tests/CodexTests/BasicTests/ThreeClientTest.cs

25 lines
549 B
C#
Raw Normal View History

using NUnit.Framework;
2023-09-12 13:43:30 +00:00
using Utils;
namespace CodexTests.BasicTests
2023-09-12 13:43:30 +00:00
{
[TestFixture]
public class ThreeClientTest : AutoBootstrapDistTest
{
[Test]
public void ThreeClient()
{
var primary = AddCodex();
var secondary = AddCodex();
var testFile = GenerateTestFile(10.MB());
var contentId = primary.UploadFile(testFile);
var downloadedFile = secondary.DownloadContent(contentId);
testFile.AssertIsEqual(downloadedFile);
}
}
}