1
0
Fork 0

add more information when timeout failing the index creation tests (#7265)

This commit is contained in:
Wilfried Goesgens 2018-11-08 11:50:30 +01:00 committed by Jan
parent a6e4c844ad
commit bfde87751c
1 changed files with 2 additions and 2 deletions

View File

@ -1167,7 +1167,7 @@ function parallelIndexSuite() {
} }
if (time() - start > 180) { if (time() - start > 180) {
// wait for 3 minutes maximum // wait for 3 minutes maximum
fail(); fail("Timeout creating 80 indices after 3 minutes: " + JSON.stringify(indexes));
} }
require("internal").wait(0.5, false); require("internal").wait(0.5, false);
} }
@ -1193,7 +1193,7 @@ function parallelIndexSuite() {
} }
if (time() - start > 180) { if (time() - start > 180) {
// wait for 3 minutes maximum // wait for 3 minutes maximum
fail(); fail("Timeout creating indices after 3 minutes: " + JSON.stringify(indexes));
} }
require("internal").wait(0.5, false); require("internal").wait(0.5, false);
} }