Bug 148008 - Web Inspector: Reduce flakiness of inspector/indexeddb/requestDatabaseNames
Summary: Web Inspector: Reduce flakiness of inspector/indexeddb/requestDatabaseNames
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Joseph Pecoraro
URL:
Keywords: DoNotImportToRadar
Depends on:
Blocks:
 
Reported: 2015-08-13 18:12 PDT by Joseph Pecoraro
Modified: 2015-08-14 08:43 PDT (History)
9 users (show)

See Also:


Attachments
[PATCH] Proposed Fix (2.11 KB, patch)
2015-08-13 18:14 PDT, Joseph Pecoraro
timothy: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2015-08-13 18:12:56 PDT
* SUMMARY
This test is flakey because an earlier test may create an IndexedDB database that this test did not expect.

Simple approach: delete any IndexedDB databases before running the real test.
Comment 1 Joseph Pecoraro 2015-08-13 18:14:28 PDT
Created attachment 258964 [details]
[PATCH] Proposed Fix
Comment 2 Joseph Pecoraro 2015-08-13 18:15:22 PDT
* STEPS TO REPRODUCE
1. shell> run-webkit-tests fast/history inspector/indexeddb --child-processes=1
  => the inspector test fails
Comment 3 Joseph Pecoraro 2015-08-13 18:30:27 PDT
http://trac.webkit.org/changeset/188426
Comment 4 Alexey Proskuryakov 2015-08-14 08:43:01 PDT
This helped, the test hasn't failed again yet.