Skip to content

Commit 5df3d0e

Browse files
authored
Change support for VM service message from "Dart VM Service listening" to "The Dart VM Service is listening" (flutter#31310)
See dart-lang/sdk#46756
1 parent 8729e6a commit 5df3d0e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

shell/testing/observatory/launcher.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class ShellProcess {
3535

3636
Uri? _extractVMServiceUri(String str) {
3737
final listeningMessageRegExp = RegExp(
38-
r'(?:Observatory|Dart VM Service) listening on ((http|//)[a-zA-Z0-9:/=_\-\.\[\]]+)',
38+
r'(?:Observatory|The Dart VM Service is) listening on ((http|//)[a-zA-Z0-9:/=_\-\.\[\]]+)',
3939
);
4040
final match = listeningMessageRegExp.firstMatch(str);
4141
if (match != null) {

testing/android_systrace_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def LaunchPackage(package_name, activity_name, adb_path='adb'):
6161
'%s/%s' % (package_name, activity_name)], stderr=subprocess.STDOUT)
6262
for line in logcat.stdout:
6363
print('>>>>>>>> ' + line.strip())
64-
if ('Observatory listening' in line) or ('Dart VM Service listening' in line):
64+
if ('Observatory listening' in line) or ('Dart VM Service is listening' in line):
6565
logcat.kill()
6666
break
6767

0 commit comments

Comments
 (0)