-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Add --serve-observatory flag to run, attach, and test #118402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This flag will allow for Observatory to be served by the VM service once it is disabled by default in the Dart SDK.
|
Observatory won't be disabled by default until after the FYI @zanderso |
| return _testFile('flutter_gold', automatedTestsDirectory, flutterTestDirectory, exitCode: isZero); | ||
| }); | ||
|
|
||
| testWithoutContext('flutter test should respect --serve-observatory', () async { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would any of these tests fail without your change, or would they all pass because the Dart SDK defaults to serving the observatory?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've written them in such a way that they should all pass now since Observatory is currently served by default, yes.
|
Friendly bump :) |
packages/flutter_tools/test/general.shard/resident_runner_test.dart
Outdated
Show resolved
Hide resolved
|
Friendly bump |
zanderso
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm w/ one last nit.
--serve-observatory flag to run, attach, and test
This flag will allow for Observatory to be served by the VM service once it is disabled by default in the Dart SDK.