Running tests with dotnet at Appveyor fails some of the tests

godrose's Avatar


17 Nov, 2018 04:42 PM

Project: Branch: v2.0.0
Running tests locally with Resharper - all are green
Running tests at Appveyor with dotnet command line tool - some are red.
Running tests locally with dotnet command line tool - all are green

  1. Support Staff 1 Posted by Owen McDonnell on 19 Nov, 2018 06:47 PM

    Owen McDonnell's Avatar

    If thread intensive tasks are being tested, it doesn't seem unexpected that such a task would fail on a build machine but pass locally on a more powerful machine.

  2. 2 Posted by godrose on 19 Nov, 2018 08:39 PM

    godrose's Avatar

    True. Yet this used to work for more than 100 previous builds. I suspect
    this has something to do with the fact I’ve started to use .Net Core tests
    instead of .Net Franework ones.

  3. Support Staff 3 Posted by Owen McDonnell on 20 Nov, 2018 01:03 AM

    Owen McDonnell's Avatar

    Seems like a pretty reasonable conclusion.

    I forked your repo and tried it on our premium workers which have 4 cores and more memory and tests ran successfully.

    I would submit that it's actually a good thing that it failed for you on AppVeyor since machines with limited resources more accurately model real world scenarios your software may encounter.

  4. 4 Posted by godrose on 20 Nov, 2018 04:32 AM

    godrose's Avatar

    Absolutely! I will check the code. Thanks for your assistance.

  5. 5 Posted by godrose on 15 Jan, 2019 08:03 PM

    godrose's Avatar

    I guess this ticket can be closed now

  6. Support Staff 6 Posted by Ilya Finkelshte... on 15 Jan, 2019 08:14 PM

    Ilya Finkelshteyn's Avatar

    Good, thanks you!

  7. Ilya Finkelshteyn closed this discussion on 15 Jan, 2019 08:14 PM.

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

Keyboard shortcuts


? 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