[ 
https://issues.apache.org/jira/browse/FLINK-10106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16574548#comment-16574548
 ] 

ASF GitHub Bot commented on FLINK-10106:
----------------------------------------

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:
[email protected]


> Include test name in temp directory of e2e test
> -----------------------------------------------
>
>                 Key: FLINK-10106
>                 URL: https://issues.apache.org/jira/browse/FLINK-10106
>             Project: Flink
>          Issue Type: Improvement
>          Components: Tests
>    Affects Versions: 1.6.0
>            Reporter: Till Rohrmann
>            Assignee: Dawid Wysakowicz
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.7.0
>
>
> For better debuggability it would help to include the name of the e2e test in 
> the created temporary testing directory 
> {{temp-test-directory-<TEST_NAME>-UUID}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to