Only Alice should perform Bluetooth discovery.

This commit is contained in:
akwizgran
2020-10-27 14:22:30 +00:00
parent 8cbb38ee68
commit 922a52bf83
8 changed files with 26 additions and 15 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);
new byte[COMMIT_LENGTH], descriptor, true);
assertNotNull(d);
// Check that the connection was accepted
assertTrue(latch.await(5, SECONDS));