Commit 9c18545
[VM/Service] Fix the behaviour of the pause parameter of ReloadSources
The changes to `pkg/vm_service/test/reload_sources_test.dart` in this CL
make it fail if running on a VM that does not also include the changes
to `runtime/vm/service.cc` in this CL. This happens because:
1) `pause_post_service_request` gets carried over from the RPC on line
44 of `pkg/vm_service/test/reload_sources_test.dart`, and the isolate
will actually pause after the `getIsolate` RPC within the
`isolateIsRunning` test on line 51
2) `pause_post_service_request` gets carried over from the RPC on line
54, and the isolate will actually pause after the `getIsolate` RPC
within the `isolateIsRunning` test on line 60
3) `isolateIsRunning` on line 64 will fail
TEST=pkg/vm_service/test/reload_sources_test.dart
Change-Id: Id6486c485b1e22599cb920c0874aac0c1aa731c9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/397020
Commit-Queue: Derek Xu <[email protected]>
Reviewed-by: Ben Konyi <[email protected]>1 parent 3ffde1e commit 9c18545
File tree
2 files changed
+10
-2
lines changed- pkg/vm_service/test
- runtime/vm
2 files changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
| 50 | + | |
| 51 | + | |
49 | 52 | | |
50 | 53 | | |
51 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4002 | 4002 | | |
4003 | 4003 | | |
4004 | 4004 | | |
| 4005 | + | |
| 4006 | + | |
| 4007 | + | |
| 4008 | + | |
| 4009 | + | |
| 4010 | + | |
4005 | 4011 | | |
4006 | 4012 | | |
4007 | | - | |
4008 | | - | |
| 4013 | + | |
4009 | 4014 | | |
4010 | 4015 | | |
4011 | 4016 | | |
| |||
0 commit comments