Skip to content

Commit 3764a8f

Browse files
authored
Change support for VM service message from "The Dart VM Service is listening" to "The Dart VM service is listening" (flutter#31361)
See dart-lang/sdk#46756
1 parent 90effff commit 3764a8f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

shell/platform/fuchsia/runtime/dart/utils/vmservice_object.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ void VMServiceObject::GetContents(LazyEntryVector* out_vector) const {
4141
std::vector<std::string> files;
4242
if (!ReadDirContents(kPortDir, &files)) {
4343
FX_LOGF(ERROR, LOG_TAG,
44-
"Failed to read Dart VM Service port directory '%s': %s", kPortDir,
44+
"Failed to read Dart VM service port directory '%s': %s", kPortDir,
4545
strerror(errno));
4646
return;
4747
}

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|The Dart VM Service is) 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 is 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)