Mute broken test on MacOS

Seems to be triggered by 0cf0d73
See: https://github.com/elastic/elasticsearch/issues/33879
This commit is contained in:
Tim Vernum 2018-09-20 14:06:40 +10:00
parent 05bf9dc2e8
commit ff934e3dcd
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,7 @@
package org.elasticsearch.transport.nio;
import org.apache.lucene.util.Constants;
import org.elasticsearch.Version;
import org.elasticsearch.cluster.node.DiscoveryNode;
import org.elasticsearch.common.io.stream.NamedWriteableRegistry;
@ -99,6 +100,7 @@ public class SimpleMockNioTransportTests extends AbstractSimpleTransportTestCase
}
public void testConnectException() throws UnknownHostException {
assumeFalse("Broken on Darwin - https://github.com/elastic/elasticsearch/issues/33879", Constants.MAC_OS_X);
try {
serviceA.connectToNode(new DiscoveryNode("C", new TransportAddress(InetAddress.getByName("localhost"), 9876),
emptyMap(), emptySet(),Version.CURRENT));