This is an automated email from the ASF dual-hosted git repository.

jonnybot pushed a commit to branch fix-parallel-test
in repository https://gitbox.apache.org/repos/asf/groovy-geb.git

commit e9940ee5bf9ff56d50f39617d26d998fc91f2cdf
Author: Jonny Carter <[email protected]>
AuthorDate: Wed Dec 31 12:05:30 2025 -0600

    Restore working parallel test
---
 .../geb-spock/src/test/groovy/geb/spock/ParallelExecutionSpec.groovy | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git 
a/module/geb-spock/src/test/groovy/geb/spock/ParallelExecutionSpec.groovy 
b/module/geb-spock/src/test/groovy/geb/spock/ParallelExecutionSpec.groovy
index cb5d7247..8025b745 100644
--- a/module/geb-spock/src/test/groovy/geb/spock/ParallelExecutionSpec.groovy
+++ b/module/geb-spock/src/test/groovy/geb/spock/ParallelExecutionSpec.groovy
@@ -28,7 +28,6 @@ import spock.util.EmbeddedSpecRunner
 
 import javax.servlet.http.HttpServletRequest
 
-@Ignore("https://github.com/geb/geb/issues/188";)
 class ParallelExecutionSpec extends Specification {
 
     EmbeddedSpecRunner specRunner = new EmbeddedSpecRunner(
@@ -187,8 +186,8 @@ class ParallelExecutionSpec extends Specification {
 
         then:
         !result.failures*.exception
-        reportFileTestCounterPrefixes("SpecRunningIterationsInParallel1") == 
(["000"] * 2) + (1..4)*.toString()*.padLeft(3, "0")
-        reportFileTestCounterPrefixes("SpecRunningIterationsInParallel2") == 
(["000"] * 2) + (1..4)*.toString()*.padLeft(3, "0")
+        reportFileTestCounterPrefixes("SpecRunningIterationsInParallel1") == 
(["000"] * 2) + ('001'..'004')
+        reportFileTestCounterPrefixes("SpecRunningIterationsInParallel2") == 
(["000"] * 2) + ('001'..'004')
     }
 
     private List<String> reportFileTestCounterPrefixes(String className) {

Reply via email to