jamesfredley commented on code in PR #15335:
URL: https://github.com/apache/grails-core/pull/15335#discussion_r2725794649
##########
grails-mimetypes/src/test/groovy/grails/web/mime/MimeUtilitySpec.groovy:
##########
@@ -30,6 +31,11 @@ import spock.lang.Specification
*/
class MimeUtilitySpec extends Specification {
+ void setup() {
+ // Clear the static mimeTypes cache to ensure proper test isolation in
parallel test runs
+ HttpServletResponseExtension.@mimeTypes = null
Review Comment:
Good point, will update all 8 locations.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]