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 efaae4e commit b7496a7Copy full SHA for b7496a7
src/Tests/Tests/ClientConcepts/ConnectionPooling/BuildingBlocks/ConnectionPooling.doc.cs
@@ -220,14 +220,7 @@ [U] public void RandomizedInitialNodes()
220
IEnumerable<StaticConnectionPool> CreatStaticConnectionPools()
221
{
222
Thread.Sleep(1);
223
-
224
- var uris = new[]
225
- {
226
- new Uri("https://10.0.0.1:9200/"),
227
- new Uri("https://10.0.0.2:9200/"),
228
- new Uri("https://10.0.0.3:9200/")
229
- };
230
+ var uris = Enumerable.Range(1, 50).Select(i => new Uri($"https://10.0.0.{i}:9200/"));
231
yield return new StaticConnectionPool(uris);
232
}
233
0 commit comments