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.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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