dart-sdk/runtime/observatory
Jens Johansen 1c2043e3a6 Update service test more to not be different in sync async mode
Before this CL the test fails because the stacktrace was not as expected
when running in sync async mode.
This CL changes the test so async methods are not executed synchronously
by adding an "await null;" as the first thing in those methods.

An alternative fix would have been to pass --no-sync-async.

Bug: #29158

Change-Id: Idd9bd159610405bbdd479d50d823953a9ad1abde
Reviewed-on: https://dart-review.googlesource.com/63742
Commit-Queue: Jens Johansen <jensj@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2018-08-02 07:24:02 +00:00
..
bin Observatory strong mode fixes: make callback parameter types more general. 2018-05-24 23:07:55 +00:00
lib Make loadScript() return a future, so it can be awaited in dart 2. 2018-07-24 19:04:26 +00:00
tests Update service test more to not be different in sync async mode 2018-08-02 07:24:02 +00:00
tool Use dartfmt on Observatory code 2016-09-16 06:59:51 -07:00
web [observatory] Update packages and remove dead dependencies. 2018-06-25 22:09:54 +00:00
.gitignore Commit observatory's pubspec.lock to the repo 2016-09-27 14:04:47 +02:00
.packages [observatory] Progress toward static mode compatibility. 2018-07-17 16:27:40 +00:00
analysis_options.yaml Analyze all the pkg/ code on the bots. 2018-07-12 16:35:03 +00:00
BUILD.gn [observatory] Switch to static mode. 2018-07-17 18:04:10 +00:00
HACKING.md Fix some observatory analysis issues. 2017-06-08 23:59:26 -07:00
observatory_sources.gni Add searchBar to VirtualCollections in Observatory 2017-09-07 20:54:44 +00:00
pubspec.yaml Analyze all the pkg/ code on the bots. 2018-07-12 16:35:03 +00:00
update_sources.py [infra] Translate _sources.gypi files to _sources.gni files 2017-08-14 21:54:36 -07:00