Skip to contentSkip to conversation

freediameter: Add 600s timeout via ctest driver

PATCH New Khem Raj 1 participant 1 message Dec 11, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 freediameter: Add 600s timeout via ctest driver

This helps tests not hitting timeout (120s default) especially testmesg_stress test can timeout on slower machines e.g. fully emulated ( non-kvm ) qemu machines e.g. qemuarm64 on x86_64 machine.

---
 .../recipes-protocols/freediameter/freediameter_1.6.0.bb      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-networking/recipes-protocols/freediameter/freediameter_1.6.0.bb +2 -2
index 887ca5c4a3..44be5044b1 100644
@@ -50,6 +50,7 @@ EXTRA_OECMAKE = " \
     -DCMAKE_SKIP_RPATH:BOOL=ON \
     -DFLEX_TARGET_ARG_COMPILE_FLAGS='--noline' \
     -DBISON_TARGET_ARG_COMPILE_FLAGS='--no-lines' \
+    -DTEST_TIMEOUT=600 \
 "
 # INSTALL_LIBRARY_SUFFIX is relative to CMAKE_INSTALL_PREFIX
 # specify it on cmd line will fix the SET bug in CMakeList.txt
@@ -125,7 +126,7 @@ FILES:${PN} += "${libdir}/${fd_pkgname}/*"
 
 RDEPENDS:${PN}  = "glib-2.0 gnutls libidn"
 RDEPENDS:${PN} += "openssl openssl-conf openssl-engines"
-RRECOMMENDS:${PN} += "kernel-module-tipc kernel-module-sctp"
+RRECOMMENDS:${PN} += "kernel-module-tipc kernel-module-sctp"
 RRECOMMENDS:${PN} += "kernel-module-udp-tunnel kernel-module-ipip"
 RDEPENDS:${PN}-ptest = "cmake"
 
@@ -137,4 +138,3 @@ SYSTEMD_SERVICE:${PN} = "freediameter.service"
 SYSTEMD_AUTO_ENABLE = "disable"
 
 CONFFILES:${PN} = "${sysconfdir}/freediameter.conf"
-