From e26b1041c7c112e430de7147d0bec46f2b8759ef Mon Sep 17 00:00:00 2001 From: Johannes Schmidt Date: Thu, 5 Feb 2026 10:15:47 +0100 Subject: [PATCH] Use noop lambda in dummy NotificationCommand The dummy command would sometimes fail with a "broken pipe" error on slow runners like the arm64 container image one, so this commit replaces them with executing a noop lambda. Using "/bin/echo" might also have been fine, but with this there isn't even a process spawned that can get a broken pipe. --- test/notification-notificationcomponent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/notification-notificationcomponent.cpp b/test/notification-notificationcomponent.cpp index d1a34d4d1..d689bf7c3 100644 --- a/test/notification-notificationcomponent.cpp +++ b/test/notification-notificationcomponent.cpp @@ -52,7 +52,7 @@ object Host "h1" { enable_passive_checks = true } object NotificationCommand "send" { - command = ["true"] + execute = {{}} } apply Notification "n1" to Host { interval = 0