We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 766c294 commit e26bd0bCopy full SHA for e26bd0b
src/Tests/Tests/Cluster/RemoteInfo/RemoteInfoApiTests.cs
@@ -78,12 +78,12 @@ protected override void ExpectResponse(IRemoteInfoResponse response)
78
{
79
response.Remotes.Should()
80
.NotBeEmpty()
81
- .And.HaveCount(2)
82
.And.ContainKey("cluster_one")
83
.And.ContainKey("cluster_two");
84
85
- foreach (var remote in response.Remotes.Values)
+ foreach (var (name, remote) in response.Remotes)
86
+ if (!name.StartsWith("cluster_")) continue;
87
remote.Connected.Should().BeTrue();
88
remote.HttpAddresses.Should().NotBeNullOrEmpty();
89
remote.Seeds.Should().NotBeNullOrEmpty();
0 commit comments