-
-
Notifications
You must be signed in to change notification settings - Fork 963
Description
Issue description
Prior to being combined into grails-core these other projects were only built with Java 17 and ubuntu-latest. When combines some test failures appears.
The first two can be test on windows with
./gradlew :grails-datamapping-core-test:test --rerun-tasks --no-build-cache
after removing @IgnoreIf( { os.windows } )
Lines 12 to 17 in ac1dd29
@Retry // this test is flaky on CI due to https://github.com/apache/grails-data-mapping/issues/1877 | |
@Stepwise | |
@IgnoreIf( { os.windows } ) | |
class CustomAutoTimestampSpec extends GormDatastoreSpec { | |
Lines 13 to 17 in ac1dd29
@IgnoreIf({ os.windows }) // Fails on windows even though the NotInListSpec is in the TCK and runs | |
@Suite | |
@SelectClasses([NotInListSpec]) | |
class TckTestSuite { | |
} |
grails-core/grails-gsp/plugin/src/test/groovy/org/grails/web/taglib/FormTagLibTests.groovy
Lines 40 to 45 in ac1dd29
@IgnoreIf({ System.getenv('GITHUB_REF') }) | |
def testFormNoNamespace() { | |
when: | |
def template = '<g:form controller="books"></g:form>' | |
String output = applyTemplate(template) | |
grails-core/grails-gsp/plugin/src/test/groovy/org/grails/web/taglib/FormTagLibTests.groovy
Lines 316 to 320 in ac1dd29
@Ignore // flaky test | |
def testFormActionSubmitWithController() { | |
when: | |
String output = tagLib.formActionSubmit([controller: 'con', id: 'formElementId', value: 'Submit']) | |
Additional failures when run locally on windows 11 with Java 17.0.12:
RestfulReverseUrlRenderingTests > testFormTagRendering FAILED
Condition not satisfied:
output == '<form action="/book" method="post" name="myForm" id="myForm" >save</form>'
| |
| false
| 8 differences (90% similarity)
| <form action="/(restfulB)ook" method="post" name="myForm" id="myForm" >save</form>
| <form action="/(b-------)ook" method="post" name="myForm" id="myForm" >save</form>
<form action="/restfulBook" method="post" name="myForm" id="myForm" >save</form>
at org.grails.web.mapping.RestfulReverseUrlRenderingTests.testFormTagRendering(RestfulReverseUrlRenderingTests.groovy:30)
RestfulReverseUrlRenderingTests > testFormTagRenderGETRequest FAILED
Condition not satisfied:
output == '<form action="/book" method="get" name="myForm" id="myForm" >create</form>'
| |
| false
| 8 differences (90% similarity)
| <form action="/(restfulB)ook" method="get" name="myForm" id="myForm" >create</form>
| <form action="/(b-------)ook" method="get" name="myForm" id="myForm" >create</form>
<form action="/restfulBook" method="get" name="myForm" id="myForm" >create</form>
at org.grails.web.mapping.RestfulReverseUrlRenderingTests.testFormTagRenderGETRequest(RestfulReverseUrlRenderingTests.groovy:40)
Or alternatively two different failures
testRenderForm
Condition not satisfied:
output == '<form action="/foo" method="post" >bar</form>'
| |
| false
| 4 differences (91% similarity)
| <form action="(----)" method="post" >bar</form>
| <form action="(/foo)" method="post" >bar</form>
<form action="" method="post" >bar</form>
at org.grails.web.taglib.LinkRenderingTagLibTests.testRenderForm(LinkRenderingTagLibTests.groovy:228)
testRenderForm
Condition not satisfied:
output == '<form action="/foo" method="post" >bar</form>'
| |
| false
| 4 differences (91% similarity)
| <form action="(----)" method="post" >bar</form>
| <form action="(/foo)" method="post" >bar</form>
<form action="" method="post" >bar</form>
at org.grails.web.taglib.LinkRenderingTagLibTests.testRenderForm(LinkRenderingTagLibTests.groovy:228)
Metadata
Metadata
Assignees
Type
Projects
Status