Skip to content

Commit

Permalink
OrderExtensionSpec: explain @Retry usage better
Browse files Browse the repository at this point in the history
  • Loading branch information
kriegaex committed Apr 18, 2023
1 parent 11325b9 commit 53a890d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ class FourthSpec extends Specification {
]
}

// Retry, if random order accidentally equals default order
@Retry(count = 50, mode = SETUP_FEATURE_CLEANUP)
// if random order == deterministic order
def 'random spec order'() {
runner.configurationScript = {
runner {
Expand All @@ -127,8 +127,8 @@ class FourthSpec extends Specification {
])
}

// Retry, if random order accidentally equals default order
@Retry(count = 50, mode = SETUP_FEATURE_CLEANUP)
// if random order == deterministic order
def 'random feature order'() {
runner.configurationScript = {
runner {
Expand All @@ -151,8 +151,8 @@ class FourthSpec extends Specification {
])
}

// Retry, if random order accidentally equals default order
@Retry(count = 50, mode = SETUP_FEATURE_CLEANUP)
// if random order == deterministic order
def 'random spec and feature order'() {
runner.configurationScript = {
runner {
Expand Down

0 comments on commit 53a890d

Please sign in to comment.