Skip to content
This repository was archived by the owner on Nov 29, 2018. It is now read-only.
This repository was archived by the owner on Nov 29, 2018. It is now read-only.

Make retry time in HttpCommandExecutor configurable #6803

Open
@lukeis

Description

@lukeis

Originally reported on Google Code with ID 6803

In HttpCommandExecutor.fallBackExecute (which AFAICS is always used), a call is retried
after 2 seconds when it fails the first time.

There appears to be a bug in PhantomJS that causes it to sometimes close the webdriver
connection without any response (https://github.com/ariya/phantomjs/issues/11875).

Because of this, it turns out our regression test suite spent more than 50% of its
running time sleeping.

Now of course the real fix is to fix the bug in PhantomJS. But for the time being,
it would be tremendously useful to be able to override the retry-time and change it
from 2 seconds to something like 200ms.

Reported by [email protected] on 2014-01-06 14:59:04

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions