Skip test on windows as it may fail because of permission problems
This commit is contained in:
parent
508edbfdcc
commit
9b097ddea0
@ -33,7 +33,9 @@ public class DefaultNioDatagramChannelConfigTest {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testMulticastOptions() throws IOException {
|
public void testMulticastOptions() throws IOException {
|
||||||
if (DetectionUtil.javaVersion() < 7) {
|
if (DetectionUtil.javaVersion() < 7 || DetectionUtil.isWindows()) {
|
||||||
|
// Skip this test on java versions < 7 as its java7 only
|
||||||
|
// and on windows as it may fail because of permission problems
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user