Jungkihong07 commented on PR #4004:
URL: https://github.com/apache/amoro/pull/4004#issuecomment-3637846405

   I noticed that some tests in the amoro-format-iceberg module are failing 
with the following error:
   
   No ParameterResolver registered for parameter 
[org.apache.amoro.formats.AmoroCatalogTestHelper arg0] in constructor [public 
org.apache.amoro.formats.TestIcebergAmoroCatalog(org.apache.amoro.formats.AmoroCatalogTestHelper)].
   
   Similar errors occur for several test methods in 
TestMixedIcebergFormatCatalog, which causes the amoro-format-iceberg module 
tests to fail and the subsequent modules to be skipped.
   
   My understanding is that, in JUnit 4, AmoroCatalogTestHelper was likely 
injected via a custom runner, rule, or test utility, but after migrating to 
JUnit 5 there is no ParameterResolver (or equivalent mechanism) configured for 
this helper.
   
   Before making further changes, I would like to ask for guidance on the 
preferred approach in this project:
   
   Should I introduce a JUnit 5 ParameterResolver (and register it via 
@ExtendWith or the service loader) to provide AmoroCatalogTestHelper?
   
   Or would you prefer to refactor these tests to avoid constructor injection 
and use another pattern that is more consistent with the existing JUnit 5 tests 
in this repository?
   
   Once I know the preferred direction, I can update the tests accordingly.


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