xamarin-macios/tests/xharness/Microsoft.DotNet.XHarness.i.../Listeners
Manuel de la Pena 617777ae73
[Harness] Add support to create tunnels. (#8446)
* [Harness] Add support to create tunnels.

Add support to create tunnels in case the devices cannot connect to
the host. This option is false by default, which means that unless told
otherwise xharness will try to se a tcp connection over the WiFi.

We are not setting it as default because the devices in DDFun will have
access to an unrestricted network. Nevertheless after this PR we will
create a new one with the following logic:

1. Try to use the tcp connection using the network.
2. If devices cannot connect to the host via the network, fall back to
the tcp tunnel.

This change executes a tunnel process per test application, most of the
cases out of the 150 test application we execute, most of them (maybe 98%
but most % are made up) will pass, and just a few of them will fail. The
reason is that there is a daemon in the OS that gets underwater.

Rather than tryingt o find a hacky way to re-use the tunnel, lets KISS
and if we need to hack that, do it as an enhancement.
2020-05-04 13:21:38 -04:00
..
SimpleFileListener.cs [Harness] Move code to a shared library (#8234) 2020-04-01 13:32:21 -04:00
SimpleHttpListener.cs [Harness] Move code to a shared library (#8234) 2020-04-01 13:32:21 -04:00
SimpleListener.cs [Harness] Move code to a shared library (#8234) 2020-04-01 13:32:21 -04:00
SimpleListenerFactory.cs [Harness] Add support to create tunnels. (#8446) 2020-05-04 13:21:38 -04:00
SimpleTcpListener.cs [Harness] Add support to create tunnels. (#8446) 2020-05-04 13:21:38 -04:00
TcpTunnel.cs [Harness] Add support to create tunnels. (#8446) 2020-05-04 13:21:38 -04:00
TunnelBore.cs [Harness] Add support to create tunnels. (#8446) 2020-05-04 13:21:38 -04:00