da-daken opened a new issue, #1476:
URL: https://github.com/apache/flink-agents/issues/1476

   ### Description
   
   Four Python cross-language e2e tests hardcode the tests jar version as 
`0.4-SNAPSHOT`, but the project version is now `1.0-SNAPSHOT`. The jar lookup 
misses and the tests silently skip in CI, so these cross-language paths are no 
longer covered:
   
   - 
`python/flink_agents/e2e_tests/e2e_tests_resource_cross_language/python_agent_with_java_action_test.py:45`
   - 
`python/flink_agents/e2e_tests/e2e_tests_resource_cross_language/yaml_cross_language_test.py:70`
   - 
`python/flink_agents/e2e_tests/e2e_tests_resource_cross_language/yaml_java_action_cross_language_test.py:51`
   - 
`python/flink_agents/e2e_tests/e2e_tests_resource_cross_language/yaml_actions_in_java_cross_language_test.py:60`
   
   All four build the jar path like:
   
   ```python
   Path(...) / 
"flink-agents-end-to-end-tests-resource-cross-language-0.4-SNAPSHOT-tests.jar"
   ```
   
   while the maven build produces 
`flink-agents-end-to-end-tests-resource-cross-language-1.0-SNAPSHOT-tests.jar`.
   
   **Suggested fix:** replace the hardcoded version with a version-agnostic 
glob (e.g. 
`glob("flink-agents-end-to-end-tests-resource-cross-language-*-tests.jar")` and 
take the first match), as already done in the newer 
`yaml_java_mcp_cross_language_test.py`. Optionally, log a clear error when no 
tests jar is found instead of silently skipping.
   
   Found while adding the cross-language e2e test in #1475.
   


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