Skip to content

Fix tests that expect to receive VM Service events #60665

Open
@derekxu16

Description

@derekxu16

We must pass onDone and onError arguments when listening to service event streams in tests, otherwise those tests will pass silently when the testee crashes.

See the changes to pkg/dds/test/cpu_sample_streaming_test.dart in https://dart-review.googlesource.com/c/sdk/+/426300 for an example.

Metadata

Metadata

Labels

area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.pkg-ddsFor issues related to the Dart Development Servicepkg-vm-servicetriagedIssue has been triaged by sub teamvm-serviceThe VM Service Protocol, both the specification and its implementation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions