Skip to content

Commit 53a890d

Browse files
committed
OrderExtensionSpec: explain @Retry usage better
1 parent 11325b9 commit 53a890d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spock-specs/src/test/groovy/org/spockframework/smoke/extension/OrderExtensionSpec.groovy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ class FourthSpec extends Specification {
103103
]
104104
}
105105

106+
// Retry, if random order accidentally equals default order
106107
@Retry(count = 50, mode = SETUP_FEATURE_CLEANUP)
107-
// if random order == deterministic order
108108
def 'random spec order'() {
109109
runner.configurationScript = {
110110
runner {
@@ -127,8 +127,8 @@ class FourthSpec extends Specification {
127127
])
128128
}
129129

130+
// Retry, if random order accidentally equals default order
130131
@Retry(count = 50, mode = SETUP_FEATURE_CLEANUP)
131-
// if random order == deterministic order
132132
def 'random feature order'() {
133133
runner.configurationScript = {
134134
runner {
@@ -151,8 +151,8 @@ class FourthSpec extends Specification {
151151
])
152152
}
153153

154+
// Retry, if random order accidentally equals default order
154155
@Retry(count = 50, mode = SETUP_FEATURE_CLEANUP)
155-
// if random order == deterministic order
156156
def 'random spec and feature order'() {
157157
runner.configurationScript = {
158158
runner {

0 commit comments

Comments
 (0)