Unit Tests freeze in the middle.

Mike Mulligan's Avatar

Mike Mulligan

06 Jun, 2018 02:37 PM

I have been having this issue where my unit tests freeze randomly only when using node 10.3 or 10.2.

https://ci.appveyor.com/project/kethinov/generator-roosevelt/build/1.0.68/job/euded5ilv95og2di

If I configure AppVeyor to run node 10.1 it runs smoothly. If I test this on a Windows machine all the tests pass with 10.3 so I'm not sure what the issue might be. It also runs fine on 10.3 with Travis CI so it seems to be an issue with AppVeyor.

Any help would be greatly appreciated!
Thanks
-Mike

  1. Support Staff 1 Posted by Owen McDonnell on 06 Jun, 2018 04:29 PM

    Owen McDonnell's Avatar

    I haven't been able to determine what is causing the problem with node 10.2 and higher on the default image but I think as a workaround you can add image: Visual Studio 2017 to your 'appveyor.yml' config file.

  2. 2 Posted by Mike Mulligan on 06 Jun, 2018 05:07 PM

    Mike Mulligan's Avatar

    That doesn't seem to fix the issue unfortunately.

  3. Support Staff 3 Posted by Owen McDonnell on 06 Jun, 2018 05:29 PM

    Owen McDonnell's Avatar

    Can you point me to the build where it failed?

  4. 4 Posted by Mike Mulligan on 06 Jun, 2018 05:32 PM

    Mike Mulligan's Avatar
  5. Support Staff 5 Posted by Owen McDonnell on 06 Jun, 2018 05:35 PM

    Owen McDonnell's Avatar

    But I don't see that you added that line to your config. Am i missing something?

  6. 6 Posted by Mike Mulligan on 06 Jun, 2018 05:47 PM

    Mike Mulligan's Avatar

    Oh sorry. I have a separate branch for that

    I changed the config for 10.1 and 10.3. It passes on 10.1 but fails on 10.3
    https://ci.appveyor.com/project/mulligan121/generator-roosevelt

    Here is the yml for that build.
    https://github.com/mulligan121/generator-roosevelt/blob/AppVeyor/appveyor.yml

  7. Support Staff 7 Posted by Owen McDonnell on 06 Jun, 2018 10:22 PM

    Owen McDonnell's Avatar

    The master branch definitely builds successfully and there are only 6 files different with the appveyor branch, so reviewing those differences seems like the best way to find the problem.

  8. Ilya Finkelshteyn closed this discussion on 31 Aug, 2018 09:00 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac