[Webkit-unassigned] [Bug 194086] New: [GLIB] WebDriver: race condition when session starts

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 31 04:03:23 PST 2019


https://bugs.webkit.org/show_bug.cgi?id=194086

            Bug ID: 194086
           Summary: [GLIB] WebDriver: race condition when session starts
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebDriver
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com
                CC: bburg at apple.com, bugs-noreply at webkitgtk.org

This is causing flakiness in WebDriver bots, I can only reproduce it locally when my CPUs are at 100%. The thing is that sometimes we receive an empty target list right after the connection is established because RemoteInspector::setClient() calls pushListingsSoon() before a target has been registered. Most of the times the target is registered before the listing is pushed, but it can happen that when pushed the listing is still empty. After the target is registered an empty target list means the connection was lost, so we clear the connection and target. We need to ensure we do that only after the target has been registered.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190131/7021f3dd/attachment-0001.html>


More information about the webkit-unassigned mailing list