2
0
mirror of synced 2025-02-13 17:06:30 +00:00
cs-codex-dist-tests/Tests/BasicTests/ThreeClientTest.cs

26 lines
576 B
C#
Raw Normal View History

using DistTestCore;
using NUnit.Framework;
2023-09-08 10:21:40 +02:00
using Utils;
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);
}
}
}