Skip to content

@Ignore / @IgnoreIf not working as expected #1169

@jameskleeh

Description

@jameskleeh

Issue description

Tests annotated with @ignore or @IgnoreIf({ << a true condition >> }) are executed in the github actions CI

How to reproduce

I can't reproduce the issue locally. I can only reproduce on CI

https://github.com/micronaut-projects/micronaut-core/runs/697317541?check_suite_focus=true#step:7:701

Here is the test at that commit:
https://github.com/micronaut-projects/micronaut-core/blob/2a721c30de89ad52b3a7a9294341a1fd1c841f56/discovery-client/src/test/groovy/io/micronaut/discovery/propertystore/AWSParameterStoreClientSpec.groovy#L48

Note that with Spock 1 / Groovy 2.5 this is not an issue

Additional Environment information

Gradle 6, Spock 2.0 M2, Groovy 3

Java/JDK

That specific build is failing on JDK8

Groovy version

3.0.3

Gradle

6.3

Operating System

The CI is running on a variant of Linux

IDE

N/A

Build-tool dependencies used

Gradle/Grails

testImplementation 'org.spockframework:spock-core:2.0-M2-groovy-3.0'

Given that this only fails on CI it seems there is probably some odd set of circumstances, however I wanted to see if perhaps you had any ideas for me to debug, etc.. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions