testlens-app[bot] commented on PR #2511:
URL: https://github.com/apache/groovy/pull/2511#issuecomment-4370523220

   ## ✅ All tests passed ✅
   
   ⚠️ TestLens detected flakiness ⚠️
   
   ### Test Summary
   
   | Check | Project/Task | Test | Runs |
   |---|---|---|---|
   | [Build and test / lts \(17, 
ubuntu-latest\)](https://github.com/apache/groovy/actions/runs/25314552658/job/74208988604?pr=2511)
 | :test | TempTest > testCode\(\) | ⚠️ |
   
   🏷️ Commit: d8e494666c37c602c41f83c2f064a6340e7de804
   ▶️ Tests:  62935 executed
   🟡 Checks: 12/24 completed
   
   ### Test Failure
   
   <details>
   
   <summary><strong>TempTest > testCode()</strong> (:test in <a 
href="https://github.com/apache/groovy/actions/runs/25314552658/job/74208988604?pr=2511";>Build
 and test / lts (17, ubuntu-latest)</a>)</summary>
   
   ```
   groovy.lang.MissingMethodException: No signature of method: assertScript for 
class: TempTest is applicable for argument types: 
(org.codehaus.groovy.runtime.GStringImpl) values: 
[@GrabResolver('file:/home/runner/work/groovy/groovy/build/testFixtures/extmodule/repo/jars')
                   @Grab(value='module-test:module-test:1.4', changing='true')
                   import org.codehaus.groovy.runtime.m12n.*
   
                   // ensure that the module is now loaded
                   ExtensionModuleRegistry registry = 
GroovySystem.metaClassRegistry.moduleRegistry
                   assert registry.modules.any { it.name == 'Test module for 
Grab' && it.version == '1.4' }
   
                   // the following methods are added by the 'Test module for 
Grab' module
                   def str = 'This is a string'
                   assert str.reverseToUpperCase2() == 
str.toUpperCase().reverse()
                   assert String.answer2() == 42
               ]
        at 
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:83)
        at 
org.codehaus.groovy.vmplugin.v8.IndyGuardsFiltersAndSignatures.unwrap(IndyGuardsFiltersAndSignatures.java:163)
        at TempTest.testCode(Temp.groovy:16)
   ```
   
   </details>
   
   ---
   _Learn more about TestLens at [testlens.app](https://testlens.app)._
   


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