File dqlite-1.18.2-fix-arm-test.patch of Package dqlite

From b2339eef6864a2e138e8910b57a305582dc0f126 Mon Sep 17 00:00:00 2001
From: Marco Manino <mrcmnn@gmail.com>
Date: Fri, 8 Aug 2025 07:46:57 +0200
Subject: [PATCH] chore: fix arm tests on 22.04 (#806)

---
 test/raft/unit/test_snapshot.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/raft/unit/test_snapshot.c b/test/raft/unit/test_snapshot.c
index 21bd0c005..6c476b4cd 100644
--- a/test/raft/unit/test_snapshot.c
+++ b/test/raft/unit/test_snapshot.c
@@ -461,6 +461,8 @@ static void pool_tear_down(void *data)
 	uv_run(uv_default_loop(), UV_RUN_DEFAULT);
 	pool_fini(&global_fixture.pool);
 	free(data);
+	/* Make sure to cleanup the alarm for 22.04 */
+	alarm(0);
 }
 
 static void progress(void) {
openSUSE Build Service is sponsored by