turns tests back on

This commit is contained in:
benbierens 2023-03-24 14:32:25 +01:00
parent 40aaf42106
commit 496673c882
No known key found for this signature in database
GPG Key ID: FE44815D96D0A1AA
1 changed files with 38 additions and 38 deletions

View File

@ -6,58 +6,58 @@ namespace Tests.BasicTests
[TestFixture] [TestFixture]
public class SimpleTests : DistTest public class SimpleTests : DistTest
{ {
//[Test] [Test]
//public void GetDebugInfo() public void GetDebugInfo()
//{ {
// var dockerImage = new CodexDockerImage(); var dockerImage = new CodexDockerImage();
// var node = SetupCodexNodes(1) var node = SetupCodexNodes(1)
// .BringOnline()[0]; .BringOnline()[0];
// var debugInfo = node.GetDebugInfo(); var debugInfo = node.GetDebugInfo();
// Assert.That(debugInfo.spr, Is.Not.Empty); Assert.That(debugInfo.spr, Is.Not.Empty);
// Assert.That(debugInfo.codex.revision, Is.EqualTo(dockerImage.GetExpectedImageRevision())); Assert.That(debugInfo.codex.revision, Is.EqualTo(dockerImage.GetExpectedImageRevision()));
//} }
//[Test] [Test]
//public void OneClientTest() public void OneClientTest()
//{ {
// var primary = SetupCodexNodes(1) var primary = SetupCodexNodes(1)
// .BringOnline()[0]; .BringOnline()[0];
// var testFile = GenerateTestFile(1.MB()); var testFile = GenerateTestFile(1.MB());
// var contentId = primary.UploadFile(testFile); var contentId = primary.UploadFile(testFile);
// var downloadedFile = primary.DownloadContent(contentId); var downloadedFile = primary.DownloadContent(contentId);
// testFile.AssertIsEqual(downloadedFile); testFile.AssertIsEqual(downloadedFile);
//} }
//[Test] [Test]
//public void TwoClientsOnePodTest() public void TwoClientsOnePodTest()
//{ {
// var group = SetupCodexNodes(2) var group = SetupCodexNodes(2)
// .BringOnline(); .BringOnline();
// var primary = group[0]; var primary = group[0];
// var secondary = group[1]; var secondary = group[1];
// PerformTwoClientTest(primary, secondary); PerformTwoClientTest(primary, secondary);
//} }
//[Test] [Test]
//public void TwoClientsTwoPodsTest() public void TwoClientsTwoPodsTest()
//{ {
// var primary = SetupCodexNodes(1) var primary = SetupCodexNodes(1)
// .BringOnline()[0]; .BringOnline()[0];
// var secondary = SetupCodexNodes(1) var secondary = SetupCodexNodes(1)
// .BringOnline()[0]; .BringOnline()[0];
// PerformTwoClientTest(primary, secondary); PerformTwoClientTest(primary, secondary);
//} }
[Test] [Test]
public void TwoClientsTwoLocationsTest() public void TwoClientsTwoLocationsTest()