IndexedDB: idb-load-docs should wait for all transactions
Previously, idb-load-docs would run a final transaction ("txn18") which created a readonly transaction on the Documents store. Since it didn't wait for this transaction to complete, the trace and test results would often show "IDBObjectStore::get (Did Not Finish)" results. The telemetry harness had code to ignore these "Did Not Finish" results. If a change came along that did allow these to complete, however, the results for the completed actions would be included and count. This might appear as a regression when really the overall scheduling system was improving. Finally, as the "Did Not Finish" tasks piled up, some or all of them never finished, which caused the overall test to take longer to complete as it waited for these tasks. Eventually the test framework would timeout waiting and this additional timeout amount was included in our overall run time. The run time didn't impact the results, it did however make the traces hard to read. Bug: 968812 Change-Id: I37f135670c6596a3d598b240d76dff5211b89429 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1636223Reviewed-by:Daniel Murphy <dmurph@chromium.org> Reviewed-by:
Caleb Rouleau <crouleau@chromium.org> Commit-Queue: Chase Phillips <cmp@chromium.org> Cr-Commit-Position: refs/heads/master@{#665238}
Showing
Please register or sign in to comment