Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-3981

Selenium Plugin: Timeout too small

    Details

    • Type: Patch
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: other
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      The Selenium Plugin tests the Reachablility of a client machine using the Method
      hudson.model.Computer#getHostname().

      While the algorithm is pretty cool, in our network setup (virtual windows server
      on a xen cluster) it fails because of a too small timeout in the
      InetAddress.isReachable() - Method. Due to that, the Selenium Plugin does not
      start any Remote Controls quitting with "Unable to determine the host name.
      Skipping Selenium execution."

      An increased (I'd suggest 3000ms) value in the InetAddress.isReachable() Method
      makes the plugin work in our network setup.

      hudson.model.Computer#getHostname()

      Line 562 (old): if(!ia.isReachable(500)) {
      Line 562 (new): if(!ia.isReachable(3000)) {

      Could you increase the timeout?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tboeghk tboeghk
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: