Skip to content

Commit 5d4cd6d

Browse files
authored
Merge pull request #901 from fengxx/netty_attach_mac
Revert "skip instead of throw error on non-linux os"
2 parents 42a50ec + 8af4936 commit 5d4cd6d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/test/java/com/github/dockerjava/netty/exec/AttachContainerCmdExecTest.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@
1010
import java.io.PipedInputStream;
1111
import java.io.PipedOutputStream;
1212
import java.lang.reflect.Method;
13-
import java.util.Locale;
1413

1514
import org.testng.ITestResult;
16-
import org.testng.SkipException;
1715
import org.testng.annotations.AfterMethod;
1816
import org.testng.annotations.AfterTest;
1917
import org.testng.annotations.BeforeMethod;
@@ -32,10 +30,6 @@ public class AttachContainerCmdExecTest extends AbstractNettyDockerClientTest {
3230

3331
@BeforeTest
3432
public void beforeTest() throws Exception {
35-
// io.netty.channel.epollNative#loadNativeLibrary only support Linux
36-
if (!System.getProperty("os.name").toLowerCase(Locale.UK).trim().startsWith("linux")) {
37-
throw new SkipException("only support Linux");
38-
}
3933
super.beforeTest();
4034
}
4135

0 commit comments

Comments
 (0)