testlens-app[bot] commented on PR #16149:
URL: https://github.com/apache/grails-core/pull/16149#issuecomment-5470579570

   ## 🚨 TestLens detected 1 failed test 🚨
   
   Here is what you can do:
   
   1) Inspect the test failures carefully.
   2) If you are convinced that some of the tests are flaky, you can mute them 
below.
   3) Finally, trigger a rerun by checking the rerun checkbox.
   
   ### Test Summary
   
   #### [CI / Functional Tests \(Java 25, indy\=false, shard 
1\)](https://github.com/apache/grails-core/actions/runs/33328041578/job/99301626307?pr=16149)
 > :grails-test-examples-app1:integrationTest
   
   | Test | Runs | Flakiness |
   |---|---|--:|
   | FileUploadSpec > method override still applies to a multipart upload | ❌ | 
0% 🟢 |
   
   🏷️ Commit: a192c75725a6fd70e8b06002ef6468ca073715a3
   ▶️ Tests:  18735 executed
   🟡 Checks: 32/85 completed
   
   ### Test Failures
   
   <details>
   
   <summary><strong>FileUploadSpec > method override still applies to a 
multipart upload</strong> (:grails-test-examples-app1:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/33328041578/job/99301626307?pr=16149";>CI
 / Functional Tests (Java 25, indy=false, shard 1)</a>)</summary>
   
   ```
   Condition failed with Exception:
   
   response.assertJsonContains(200, [ success : true, method  : 'PUT', 
filename: 'override.txt' ])
   |        |
   |        java.lang.AssertionError: JSON does not contain expected subset.
   |         
   |        Expected subset:
   |        {
   |            "filename": "override.txt",
   |            "method": "PUT",
   |            "success": true
   |        }
   |         
   |        Actual:
   |        {
   |            "filename": "override.txt",
   |            "method": "POST",
   |            "size": 7,
   |            "success": true
   |        }
   |         
   |        Mismatches:
   |        - $.method expected PUT but was POST
   |         
   |            at 
org.apache.grails.testing.http.client.utils.JsonUtils.verifyJsonTreeContainsParsed(JsonUtils.groovy:149)
   |            at 
org.apache.grails.testing.http.client.utils.JsonUtils.verifyJsonTreeContains(JsonUtils.groovy:116)
   |            at 
org.apache.grails.testing.http.client.TestHttpResponse.verifyJsonTreeContains(TestHttpResponse.groovy:878)
   |            at 
org.apache.grails.testing.http.client.TestHttpResponse.assertJsonContains(TestHttpResponse.groovy:483)
   |            at 
org.apache.grails.testing.http.client.TestHttpResponse.assertJsonContains(TestHttpResponse.groovy:456)
   |            at 
org.apache.grails.testing.http.client.TestHttpResponse.assertJsonContains(TestHttpResponse.groovy:536)
   |            at 
org.apache.grails.testing.http.client.TestHttpResponse.assertJsonContains(TestHttpResponse.groovy:511)
   |            at functionaltests.fileupload.FileUploadSpec.method override 
still applies to a multipart upload(FileUploadSpec.groovy:334)
   <org.apache.grails.testing.http.client.TestHttpResponse@73d7dc1b 
delegate=inaccessible jsonSlurperConfig=inaccessible 
xmlSlurperConfig=inaccessible>
   
        at functionaltests.fileupload.FileUploadSpec.method override still 
applies to a multipart upload(FileUploadSpec.groovy:334)
   Caused by: java.lang.AssertionError: JSON does not contain expected subset.
   
   Expected subset:
   {
       "filename": "override.txt",
       "method": "PUT",
       "success": true
   }
   
   Actual:
   {
       "filename": "override.txt",
       "method": "POST",
       "size": 7,
       "success": true
   }
   
   Mismatches:
   - $.method expected PUT but was POST
   
        at 
org.apache.grails.testing.http.client.utils.JsonUtils.verifyJsonTreeContainsParsed(JsonUtils.groovy:149)
        at 
org.apache.grails.testing.http.client.utils.JsonUtils.verifyJsonTreeContains(JsonUtils.groovy:116)
        at 
org.apache.grails.testing.http.client.TestHttpResponse.verifyJsonTreeContains(TestHttpResponse.groovy:878)
        at 
org.apache.grails.testing.http.client.TestHttpResponse.assertJsonContains(TestHttpResponse.groovy:483)
        at 
org.apache.grails.testing.http.client.TestHttpResponse.assertJsonContains(TestHttpResponse.groovy:456)
        at 
org.apache.grails.testing.http.client.TestHttpResponse.assertJsonContains(TestHttpResponse.groovy:536)
        at 
org.apache.grails.testing.http.client.TestHttpResponse.assertJsonContains(TestHttpResponse.groovy:511)
        ... 1 more
   ```
   
   </details>
   
   ### Rerun Controls
   > [!NOTE]
   > Checks are currently running using the configuration below.
   
   Select tests to mute in this pull request:
   
   🔲 FileUploadSpec > method override still applies to a multipart upload <!-- 
uniqueId=[engine:spock]/[spec:functionaltests.fileupload.FileUploadSpec]/[feature:$spock_feature_0_15]
 -->
   
   Reuse successful test results:
   
   🔲 ♻️ Only rerun the tests that failed or were muted before
   
   Click the checkbox to trigger a rerun:
   
   🔲 **Rerun jobs**
   
   ---
   _Learn more about TestLens at 
[testlens.app/docs](https://testlens.app/docs/features/pr-comment/)._
   


-- 
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]

Reply via email to