zentol opened a new pull request #6442: [FLINK-9987][tests] Harden ClassLoader 
E2E test
URL: https://github.com/apache/flink/pull/6442
 
 
   ## What is the purpose of the change
   
   This PR hardens the ClassLoader end-to-end test.
   
   ## Brief change log
   
   * retrieve commit id from `.version.properties` as the value has a 
well-defined format
   * do not access `.version.properties` file in source of flink-runtime and 
match id against regex instead
     * prevents failures caused by value mismatches if the binary does not 
originate from the source
     * prevents failures when flink-runtime has not been built, e.g. if the 
tests were run in a clean repo
     * removes access outside of `flink-end-to-end-tests` which is good for 
maintainability
   * exit early on test failure
     * same behavior as if the test was split in several files
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to