NUnit + ApprovalTests tests started failing

russkie's Avatar


03 Aug, 2019 02:26 PM

It looks some sort of an environmental issue - a commit that built successfully few days ago ( now fails to build (

Other commits also started failing on the build server ( yet all of them are passing locally.

Help is appreciated.
Thanks, Igor

  1. 1 Posted by russkie on 03 Aug, 2019 08:37 PM

    russkie's Avatar

    I have added attributes as suggested in the error message and my builds got fixed.
    Then they started randomly failing with some other tests failing....

    The same commit:

    Note, the failed builds fail in different tests.
    The successful build would have failed with a time out - I logged in the box and dismissed a popup - it was breaking in some other random place...

    It is definitely something to do with the environments, and it started in the past few days.

  2. Support Staff 2 Posted by Ilya Finkelshte... on 03 Aug, 2019 11:42 PM

    Ilya Finkelshteyn's Avatar

    This can be indeed related to the environment change, specifically August 1st images update. Please try to set image to the Previous Visual Studio 2017 and see if this helps.

    But please come back to us in any case. Even if switching to "previous" helps, it can be treated only as a temporary workaround, valid only till next update. So we will be needed to root cause it together.

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