From bfde87751c111e3346d0c64d755b019e647e75a7 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Thu, 8 Nov 2018 11:50:30 +0100 Subject: [PATCH] add more information when timeout failing the index creation tests (#7265) --- tests/js/common/shell/shell-index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/js/common/shell/shell-index.js b/tests/js/common/shell/shell-index.js index d28198ef03..7def978865 100644 --- a/tests/js/common/shell/shell-index.js +++ b/tests/js/common/shell/shell-index.js @@ -1167,7 +1167,7 @@ function parallelIndexSuite() { } if (time() - start > 180) { // wait for 3 minutes maximum - fail(); + fail("Timeout creating 80 indices after 3 minutes: " + JSON.stringify(indexes)); } require("internal").wait(0.5, false); } @@ -1193,7 +1193,7 @@ function parallelIndexSuite() { } if (time() - start > 180) { // wait for 3 minutes maximum - fail(); + fail("Timeout creating indices after 3 minutes: " + JSON.stringify(indexes)); } require("internal").wait(0.5, false); }