[flutter] ensure vmservice binding is registered in profile mode#83913
[flutter] ensure vmservice binding is registered in profile mode#83913fluttergithubbot merged 4 commits intoflutter:masterfrom
Conversation
|
FYI @Hixie . |
|
Oh, haha, good catch. |
|
I'd like to find a way to test this without adding a devicelab test, but I'm scratching my head a bit right now |
| ); | ||
|
|
||
| registerStringServiceExtension( | ||
| name: 'activeDevToolsServerAddress', |
There was a problem hiding this comment.
this one probably needs to move out of the assert block too right?
There was a problem hiding this comment.
Ahh good catch
|
Soliciting testing ideas: I can't turn off asserts in our unit tests, so I can't show that the extension is still registered. |
|
I can't think of a way to really test this other than an end-to-end test in devicelab either. |
|
Maybe the first step is to fix the flakiness. :-) (In the meantime you could also make the test pass in the case where it fails to bootstrap devtools, since we already test that in existing tests. Can a test decide midway through itself that it should be skipped?) |
|
Yeah, I think that's what we have to do. if its flaky we can revisit. |
|
I added a devicelab test, will add to infra config after this lands |
Ensure that devtools will launch from the cmdline on a profile build
WIP due to testing