This is an automated email from the ASF dual-hosted git repository. benw pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
commit b42abba5828ea61bfc65a8f86d3b87d48aebe21b Author: Ben Weidig <[email protected]> AuthorDate: Sun Mar 29 13:25:31 2026 +0200 TAP5-2821: ReloadSpec write bytecode first, touch after --- .../src/test/groovy/ioc/specs/ReloadSpec.groovy | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/tapestry-ioc/src/test/groovy/ioc/specs/ReloadSpec.groovy b/tapestry-ioc/src/test/groovy/ioc/specs/ReloadSpec.groovy index 3221cafc0..e5ddb3106 100644 --- a/tapestry-ioc/src/test/groovy/ioc/specs/ReloadSpec.groovy +++ b/tapestry-ioc/src/test/groovy/ioc/specs/ReloadSpec.groovy @@ -149,10 +149,10 @@ class ReloadSpec extends Specification { update() - touch classFile - createImplementationClass "updated" + touch classFile + then: // Changes do not take effect until after update check @@ -207,10 +207,10 @@ class ReloadSpec extends Specification { when: - touch(new File(pathForInternalName(baseClassInternalName))) - createImplementationClass BASE_CLASS, "updated from base" + touch(new File(pathForInternalName(baseClassInternalName))) + update() then: @@ -267,10 +267,10 @@ class ReloadSpec extends Specification { when: - touch classFile - createImplementationClass "updated proxy" + touch classFile + update() then: @@ -279,10 +279,10 @@ class ReloadSpec extends Specification { when: - touch classFile - createImplementationClass "re-updated proxy" + touch classFile + update() then: @@ -300,10 +300,10 @@ class ReloadSpec extends Specification { ReloadableService reloadable = getService ReloadableService - touch classFile - createInvalidImplementationClass() + touch classFile + update() reloadable.getStatus() @@ -398,7 +398,7 @@ class ReloadSpec extends Specification { // catches the change to the file. The Ubuntu CI Server appears // to need longer waits. - Thread.sleep 50 * (2 ^ index++) + Thread.sleep 50 * (2 ** index++) } } }
