Details
-
Bug
-
Status: Resolved
-
P3
-
Resolution: Cannot Reproduce
-
Not applicable
-
None
Description
CrossLanguageJdbcIOTest are timing out on Jenkins after submitting `Run XVR_Flink PostCommit` job.
For now the tests run on Flink and Spark on Python 3.8 Postcommit suite like KafkaIO cross-language test.
How to reconstruct it:
- Add @attr('UsesCrossLanguageTransforms') to the CrossLanguageJdbcIOTest class
- Use
expansion_jar = os.environ.get('EXPANSION_JAR')
port = os.environ.get('EXPANSION_PORT')
address = 'localhost:%s' % port
and pass the address as expansion_service param of the write and read transform. - Add
p.get_pipeline_options().view_as(DebugOptions).experiments.append('jar_packages=' + expansion_jar)
to the pipeline - Run :runners:flink:1.10:job-server:validatesCrossLanguageRunner task locally and `Run XVR_Flink PostCommit` on Jenkins
Examples of the customization are in xlang_parquetio_test.py
In my case on OSX everything passed fine locally and timeouted on Jenkins.