Adds test for 1000 codex nodes in one pod

This commit is contained in:
benbierens 2023-03-22 11:07:18 +01:00
parent 79a513814f
commit 54f008a5e3
No known key found for this signature in database
GPG Key ID: FE44815D96D0A1AA
1 changed files with 11 additions and 0 deletions

View File

@ -22,5 +22,16 @@ namespace LongTests.BasicTests
testFile.AssertIsEqual(downloadedFile); testFile.AssertIsEqual(downloadedFile);
} }
[Test, UseLongTimeouts]
public void TestEnvironmentAddressSpaceTest()
{
var group = SetupCodexNodes(1000).BringOnline();
var nodeIds = group.Select(n => n.GetDebugInfo().id).ToArray();
Assert.That(nodeIds.Length, Is.EqualTo(nodeIds.Distinct().Count()),
"Not all created nodes provided a unique id.");
}
} }
} }