disable systemd notify on Mac
This commit is contained in:
parent
9f25b8fa92
commit
d2d628129b
1 changed files with 4 additions and 0 deletions
|
@ -1,15 +1,19 @@
|
||||||
package org.xbib.net.socket.test.notify;
|
package org.xbib.net.socket.test.notify;
|
||||||
|
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
import org.junit.jupiter.api.condition.DisabledOnOs;
|
||||||
import org.xbib.net.socket.notify.SystemdNotify;
|
import org.xbib.net.socket.notify.SystemdNotify;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
|
import static org.junit.jupiter.api.condition.OS.MAC;
|
||||||
|
|
||||||
public class SystemdNotifyTest {
|
public class SystemdNotifyTest {
|
||||||
|
|
||||||
public SystemdNotifyTest() {
|
public SystemdNotifyTest() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@DisabledOnOs(value = MAC)
|
||||||
@Test
|
@Test
|
||||||
public void testSsystemd() throws IOException {
|
public void testSsystemd() throws IOException {
|
||||||
SystemdNotify.sendNotify();
|
SystemdNotify.sendNotify();
|
||||||
|
|
Loading…
Reference in a new issue