From cc320207db98b26718f5e9a92d91d613c9191af8 Mon Sep 17 00:00:00 2001
From: Piotr Gawron <piotr.gawron@uni.lu>
Date: Fri, 2 Nov 2018 16:17:54 +0100
Subject: [PATCH] retry failed tests

---
 frontend-js/src/test/js/mocha-config.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/frontend-js/src/test/js/mocha-config.js b/frontend-js/src/test/js/mocha-config.js
index 96444f0785..13ebe85b3e 100644
--- a/frontend-js/src/test/js/mocha-config.js
+++ b/frontend-js/src/test/js/mocha-config.js
@@ -195,6 +195,9 @@ before(function () {
   Promise.longStackTraces();
 
   mockBootstrap();
+
+  // Retry all tests in this suite up to 4 times
+  this.retries(4);
 });
 
 beforeEach(function () {
-- 
GitLab