From 767679d94c20da97d505da1bd55ae3cbd0bf982e Mon Sep 17 00:00:00 2001 From: Steve Gordon Date: Thu, 22 Apr 2021 06:48:01 +0100 Subject: [PATCH] Extend ping timeout in EnableDebugMode test --- tests/Tests/ClientConcepts/Troubleshooting/DebugMode.doc.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Tests/ClientConcepts/Troubleshooting/DebugMode.doc.cs b/tests/Tests/ClientConcepts/Troubleshooting/DebugMode.doc.cs index 6a81cf2f7d6..4e79b64eec5 100644 --- a/tests/Tests/ClientConcepts/Troubleshooting/DebugMode.doc.cs +++ b/tests/Tests/ClientConcepts/Troubleshooting/DebugMode.doc.cs @@ -59,6 +59,8 @@ [I] public void EnableDebugMode() // hide settings.DefaultIndex(Client.ConnectionSettings.DefaultIndex); + // hide + settings.PingTimeout(TimeSpan.FromSeconds(5)); // Avoids occasional CI failures var client = new ElasticClient(settings);