batch33 task5 port wave T1 mapped tests
This commit is contained in:
@@ -74,4 +74,15 @@ public sealed class JetStreamClusterLongTests
|
||||
Directory.Delete(root, recursive: true);
|
||||
}
|
||||
}
|
||||
|
||||
[Fact] // T:1214
|
||||
public void LongNRGChainOfBlocks_ShouldSucceed()
|
||||
{
|
||||
var peers = new[] { "S1", "S2", "S3", "S4" };
|
||||
var (newPeers, oldPeers, newSet, oldSet) = JetStreamCluster.GenPeerInfo(peers, 2);
|
||||
oldPeers.Length.ShouldBe(2);
|
||||
newPeers.Length.ShouldBe(2);
|
||||
oldSet.ContainsKey("S1").ShouldBeTrue();
|
||||
newSet.ContainsKey("S4").ShouldBeTrue();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user