Skip to content

Commit

Permalink
Added @Retry to BlockingVariablesSpec, which are flaky on windows-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasTu committed Jul 31, 2023
1 parent a443071 commit 7b91c82
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import org.spockframework.runtime.SpockTimeoutError
import spock.lang.*

class BlockingVariablesSpec extends Specification {
@Retry
//Flaky execution on build-and-verify (windows-latest) machine
def "passing example 1 - variable is read after it is written"() {
def vars = new BlockingVariables()

Expand All @@ -33,6 +35,8 @@ class BlockingVariablesSpec extends Specification {
vars.foo == 42
}

@Retry
//Flaky execution on build-and-verify (windows-latest) machine
def "passing example 2 - variable is read before it is written"() {
def vars = new BlockingVariables()

Expand Down

0 comments on commit 7b91c82

Please sign in to comment.