Skip to content

Commit 988a242

Browse files
committed
wip
1 parent 681331a commit 988a242

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dd-smoke-tests/src/main/groovy/datadog/smoketest/RunLastExtension.groovy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import org.spockframework.runtime.model.FeatureInfo
66
class RunLastExtension implements IAnnotationDrivenExtension<RunLast> {
77
@Override
88
void visitFeatureAnnotations(List<RunLast> annotations, FeatureInfo feature) {
9-
feature.setExecutionOrder(Integer.MAX_VALUE)
9+
if (!annotations.isEmpty()) {
10+
feature.setExecutionOrder(Integer.MAX_VALUE)
11+
}
1012
}
1113
}

0 commit comments

Comments
 (0)