turns tests back on
This commit is contained in:
parent
40aaf42106
commit
496673c882
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue