This is an automated email from the ASF dual-hosted git repository. jdaugherty pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit 144f6bbacd31ce27baf776c808cfa2634ae23678 Merge: 8ef440820e 73c234f26e Author: James Daugherty <[email protected]> AuthorDate: Sun Oct 11 09:13:51 2026 +0100 Merge branch '8.1.x' into 9.0.x .../grails/startup/StartupProgressSpec.groovy | 31 ++++++++++++++++++---- 1 file changed, 26 insertions(+), 5 deletions(-) diff --cc grails-startup-progress/src/test/groovy/org/apache/grails/startup/StartupProgressSpec.groovy index 6df4c1cac2,7de8437175..35b92ae96e --- a/grails-startup-progress/src/test/groovy/org/apache/grails/startup/StartupProgressSpec.groovy +++ b/grails-startup-progress/src/test/groovy/org/apache/grails/startup/StartupProgressSpec.groovy @@@ -1065,12 -1066,9 +1066,9 @@@ class StartupProgressSpec extends Speci retryAfter: response.headers().firstValue('Retry-After').orElse(null), body: response.body()) } - catch (IOException ignored) { - return null - } } - private static Response request(int port, String path, String accept, String method = 'GET', String cookie = null, Map<String, String> headers = [:]) { + private static Response requestOnPort(int port, String path, String accept, String method = 'GET', String cookie = null, Map<String, String> headers = [:]) { HttpURLConnection connection = (HttpURLConnection) URI.create("http://localhost:${port}${path}").toURL().openConnection() connection.requestMethod = method connection.useCaches = false
