From 3ac2cb82682d4c398263bf909e3ebe2208e34ce0 Mon Sep 17 00:00:00 2001
From: librelois <c@elo.tf>
Date: Sat, 15 Jan 2022 15:46:22 +0100
Subject: [PATCH] ci: cucumber tests should exit with a proper exit code when
 tests fails

---
 integration-tests/tests/cucumber_tests.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/integration-tests/tests/cucumber_tests.rs b/integration-tests/tests/cucumber_tests.rs
index 3fe4600d5..2065d6b98 100644
--- a/integration-tests/tests/cucumber_tests.rs
+++ b/integration-tests/tests/cucumber_tests.rs
@@ -170,6 +170,6 @@ async fn main() {
     DuniterWorld::cucumber()
         //.fail_on_skipped()
         .max_concurrent_scenarios(4)
-        .run("features")
+        .run_and_exit("features")
         .await;
 }
-- 
GitLab