commit | 18d99e9b8cdebd8b199c3799e4762f163e857082 | [log] [tgz] |
---|---|---|
author | Razvan Musaloiu-E <razvanm@google.com> | Tue Jun 07 08:33:02 2016 -0700 |
committer | Razvan Musaloiu-E. <razvanm@google.com> | Tue Jun 07 19:43:33 2016 +0000 |
tree | 101cafb4729f0bc45ddc2ee5b1843f8a67de18a0 | |
parent | 6038d5806b2492004f31c7c9a1977155b1554bd2 [diff] |
java: Make testDatabaseWatchWithContextCancel more deterministic It seems that sometimes the cancel is executed too late. This change makes sure we call the cancel before we attempt to read from the watch. Change-Id: I7793c0c0017f8f85835a4121e4b1faa96d03f69a