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

Workaround for JENKINS-26578 breaks htmlunit tests

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      e.g. https://jenkins.ci.cloudbees.com/job/plugins/job/ssh-slaves-plugin/136/org.jenkins-ci.plugins$ssh-slaves/testReport/hudson.plugins.sshslaves/SSHLauncherTest/testConfigurationRoundtrip/

      com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot read property "firstChild" from undefined (http://localhost:51190/jenkins/static/143bdac1/scripts/hudson-behavior.js#405)
      

      Changing the hack to use window.setTimeout(function, 1); in place of (function)() fixes the tests and should not have user-visible side-effects

        Attachments

          Activity

          Show
          stephenconnolly Stephen Connolly added a comment - https://github.com/jenkinsci/credentials-plugin/pull/59
          Show
          stephenconnolly Stephen Connolly added a comment - Blocking https://github.com/jenkinsci/ssh-slaves-plugin/pull/34
          Hide
          stephenconnolly Stephen Connolly added a comment -

          2.1.2

          Show
          stephenconnolly Stephen Connolly added a comment - 2.1.2

            People

            Assignee:
            stephenconnolly Stephen Connolly
            Reporter:
            stephenconnolly Stephen Connolly
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: