forked from firka/flutter
[frdp] Ignore stale ports. (#16944)
When forwarding all ports, run a test connection to each Dart VM instance, stopping port forwarding if the connection fails. Also does the same for any batched calls that hit all Dart VM instances.
This commit is contained in:
@@ -31,7 +31,8 @@ Future<Null> main(List<String> args) async {
|
||||
final String interface = args.length > 1 ? args[1] : '';
|
||||
// Example ssh config path for the Fuchsia device after having made a local
|
||||
// build.
|
||||
const String sshConfigPath = '../../out/release-x86-64/ssh-keys/ssh_config';
|
||||
const String sshConfigPath =
|
||||
'../../../fuchsia/out/x64rel/ssh-keys/ssh_config';
|
||||
final FuchsiaRemoteConnection connection =
|
||||
await FuchsiaRemoteConnection.connect(address, interface, sshConfigPath);
|
||||
print('On $address, the following Dart VM ports are running:');
|
||||
|
||||
Reference in New Issue
Block a user