From 4623088fbd1a26f8a7a1eecd725bac58b9fa7b46 Mon Sep 17 00:00:00 2001 From: Steve Gordon Date: Thu, 22 Apr 2021 07:23:20 +0100 Subject: [PATCH] Extend ping timeout in EnableDebugMode test (#5595) --- 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 db67d17b6e6..a5dab134af7 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);