From d2d628129b8b31caa4a32927a081d083f69d8500 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=CC=88rg=20Prante?= Date: Sat, 20 Apr 2024 16:26:54 +0200 Subject: [PATCH] disable systemd notify on Mac --- .../org/xbib/net/socket/test/notify/SystemdNotifyTest.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/net-socket/src/test/java/org/xbib/net/socket/test/notify/SystemdNotifyTest.java b/net-socket/src/test/java/org/xbib/net/socket/test/notify/SystemdNotifyTest.java index 201f8f2..ed567f1 100644 --- a/net-socket/src/test/java/org/xbib/net/socket/test/notify/SystemdNotifyTest.java +++ b/net-socket/src/test/java/org/xbib/net/socket/test/notify/SystemdNotifyTest.java @@ -1,15 +1,19 @@ package org.xbib.net.socket.test.notify; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.condition.DisabledOnOs; import org.xbib.net.socket.notify.SystemdNotify; import java.io.IOException; +import static org.junit.jupiter.api.condition.OS.MAC; + public class SystemdNotifyTest { public SystemdNotifyTest() { } + @DisabledOnOs(value = MAC) @Test public void testSsystemd() throws IOException { SystemdNotify.sendNotify();