flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] dawidwys commented on a change in pull request #6529: [FLINK-10106][e2e] Included test name in temp directory of e2e test
Date Thu, 09 Aug 2018 09:20:48 GMT
dawidwys commented on a change in pull request #6529: [FLINK-10106][e2e] Included test name
in temp directory of e2e test
URL: https://github.com/apache/flink/pull/6529#discussion_r208860682
 
 

 ##########
 File path: flink-end-to-end-tests/test-scripts/test-runner-common.sh
 ##########
 @@ -29,12 +29,14 @@ function run_test {
     description="$1"
     command="$2"
 
+    name=$(basename "${command}" | sed -e 's/[_ ]/-/g' | sed -n 's/\.sh//p')
 
 Review comment:
   I chose the script name cause the descriptions right now are rather long, usually with
long common prefix, plus some of them are still same for different test runs e.g. : `Local
recovery and sticky scheduling end-to-end test`.
   
   The command contains script parameters as well. So it should be even easier to differentiate
runs this way rather than using description.
   
   Example dir name: `temp-test-resume-savepoint-2-2-file-true-34211378012`

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message