Skip to content

Commit 4114cd6

Browse files
authored
Extend ping timeout in EnableDebugMode test (#5595)
1 parent dad90c6 commit 4114cd6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/Tests/ClientConcepts/Troubleshooting/DebugMode.doc.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ [I] public void EnableDebugMode()
5959

6060
// hide
6161
settings.DefaultIndex(Client.ConnectionSettings.DefaultIndex);
62+
// hide
63+
settings.PingTimeout(TimeSpan.FromSeconds(5)); // Avoids occasional CI failures
6264

6365
var client = new ElasticClient(settings);
6466

0 commit comments

Comments
 (0)