Allow failure on test category doesn't work

thomasv1000's Avatar

thomasv1000

04 Mar, 2020 11:44 PM

Hi,

I've been trying to allow failing tests for some categories but it seems that it's ignored.

Tests are decorated with `[Fact, Trait("Category", "FailsOnWindows")]`

And the config file is here https://github.com/vlingo-net/vlingo-net-http/blob/master/appveyor.yml.

Seems like

```
matrix:
  allow_failures:
    - test_category: FailsOnWindows
```

is not enough

The failing build https://ci.appveyor.com/project/VlingoNetOwner/vlingo-net-http/build/job/2m9p6l3urxt778j0/tests

  1. 1 Posted by thomasv1000 on 06 Mar, 2020 07:56 AM

    thomasv1000's Avatar

    I've tried disabling with

    ```
    matrix:
      allow_failures:
        - image: Visual Studio 2019
    ```

    And it works. I'm not sure what I'm missing with test categories. Why this doesn't work ?

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

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