Skip to content

Commit

Permalink
[gardening] Fix up name detection in isolate tests.
Browse files Browse the repository at this point in the history
This change addresses the test failures seen in
#36232.

Change-Id: I062669c07f4963291450b35a46fb73256505c706
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97220
Auto-Submit: Stevie Strickland <sstrickl@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Stevie Strickland <sstrickl@google.com>
  • Loading branch information
sstrickl authored and commit-bot@chromium.org committed Mar 22, 2019
1 parent 3de6276 commit 81b984d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ var tests = <VMTest>[
var resumesIssued = 0;
var isolateList = vm.isolates.toList();
for (var isolate in isolateList) {
if (isolate.name.endsWith('main')) {
if (isolate.name.endsWith('main()')) {
continue;
}
try {
Expand Down
1 change: 1 addition & 0 deletions runtime/observatory/tests/service/set_name_rpc_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ var tests = <IsolateTest>[
(Isolate isolate) async {
expect(
((isolate.name == 'set_name_rpc_test.dart:main()') ||
(isolate.name == 'out.dill:main()') ||
(isolate.name == 'out.jitsnapshot:main()')),
isTrue);

Expand Down

0 comments on commit 81b984d

Please sign in to comment.