Try all transports in order of preference.

This commit is contained in:
akwizgran
2020-10-29 11:48:10 +00:00
parent 0caa522f07
commit e0f381a973
8 changed files with 37 additions and 40 deletions

View File

@@ -276,7 +276,7 @@ public class LanTcpPluginTest extends BrambleTestCase {
descriptor.add(local.getPort());
// Connect to the port
DuplexTransportConnection d = plugin.createKeyAgreementConnection(
new byte[COMMIT_LENGTH], descriptor, true);
new byte[COMMIT_LENGTH], descriptor);
assertNotNull(d);
// Check that the connection was accepted
assertTrue(latch.await(5, SECONDS));