DevTools: Try to fix flaky test heap-objects-tracking
This test registered a callback that was an async function, but the caller doesn't await the result. This means that we re-entered the callback and modified the global counter, which was not expected. Update the test to de-register the callback before awaiting the stopTracking call, even though we still have an async function where it doesn't belong, this could at least stop the flakiness. Bug: 824904 Change-Id: Ib32eabdefb409f082dcb1f99db5f1d527fff88fe Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1986080 Commit-Queue: Peter Marshall <petermarshall@chromium.org> Reviewed-by:Mathias Bynens <mathias@chromium.org> Cr-Commit-Position: refs/heads/master@{#728196}
Showing
Please register or sign in to comment