Disable once again UNIX_SOCKET tests due to JNR bugs.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
Simone Bordet 2019-04-07 10:47:41 +02:00
parent 4ad8553fb1
commit f62192336f
1 changed files with 5 additions and 1 deletions

View File

@ -66,7 +66,9 @@ import org.eclipse.jetty.util.log.Log;
import org.eclipse.jetty.util.log.Logger; import org.eclipse.jetty.util.log.Logger;
import org.eclipse.jetty.util.ssl.SslContextFactory; import org.eclipse.jetty.util.ssl.SslContextFactory;
import org.eclipse.jetty.util.thread.QueuedThreadPool; import org.eclipse.jetty.util.thread.QueuedThreadPool;
import org.junit.jupiter.api.Assumptions;
import static org.eclipse.jetty.http.client.Transport.UNIX_SOCKET;
import static org.junit.jupiter.api.Assumptions.assumeTrue; import static org.junit.jupiter.api.Assumptions.assumeTrue;
public class TransportScenario public class TransportScenario
@ -102,8 +104,10 @@ public class TransportScenario
assumeTrue(Files.exists(tmp) && Files.isDirectory(tmp)); assumeTrue(Files.exists(tmp) && Files.isDirectory(tmp));
sockFile = Files.createTempFile(tmp, "unix", ".sock"); sockFile = Files.createTempFile(tmp, "unix", ".sock");
} }
Files.delete(sockFile); Files.delete(sockFile);
// Disable UNIX_SOCKET due to jnr/jnr-unixsocket#69.
Assumptions.assumeTrue(transport != UNIX_SOCKET);
} }
public Optional<String> getNetworkConnectorLocalPort() public Optional<String> getNetworkConnectorLocalPort()