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