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

Unit test failure (on Windows?) in stage view

    XMLWordPrintable

Details

    Description

      Filing on behalf of teilo.

      the spec util/timeout-spec.js fails on windows in test_uncanceled_timeouts

      [INFO] util/timeout-spec
      [INFO]   - test_construction ...
      [INFO]  Passed
      [INFO]   - test_uncanceled_timeouts ...
      [INFO]  Failed
      [INFO]     Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
      [INFO]     Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
      [INFO]         at null._onTimeout (…\ui\node_modules\gulp-jasmine\node_modules\jasmine\node_modules\jasmine-core\lib\jasmine-core\jasmine.js:1812:23)
      [INFO]         at Timer.listOnTimeout (timers.js:119:15)
      [INFO]   - test_canceled_timeouts ...
      [INFO]  Passed
      [INFO] 2 of 3 passed (0 skipped, 0 disabled).
      

      if I comment out test_uncanceled_timeouts then the test_canceled_timeouts test fails.

      I have attempted to use a newer node version (0.12.6) by changing the property in the pom, but the same issue remains.

      Attachments

        Issue Links

          Activity

            jglick Jesse Glick added a comment -

            tfennelly says:

            Might be useful: https://github.com/tmpvar/jsdom/tree/3.x#contextify

            (we use jsdom v3 for testing)

            jglick Jesse Glick added a comment - tfennelly says: Might be useful: https://github.com/tmpvar/jsdom/tree/3.x#contextify (we use jsdom v3 for testing)

            People

              svanoort Sam Van Oort
              jglick Jesse Glick
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: