[GitHub] flink pull request #6008: [FLINK-9354][travis] Print execution times for nig...
Github user asfgit closed the pull request at: https://github.com/apache/flink/pull/6008 ---
[GitHub] flink pull request #6008: [FLINK-9354][travis] Print execution times for nig...
Github user zentol commented on a diff in the pull request: https://github.com/apache/flink/pull/6008#discussion_r188550129 --- Diff: flink-end-to-end-tests/test-scripts/test_resume_savepoint.sh --- @@ -33,8 +33,8 @@ else NUM_SLOTS=$NEW_DOP fi -STATE_BACKEND_TYPE=${STATE_BACKEND_TYPE:-file} -STATE_BACKEND_FILE_ASYNC=${STATE_BACKEND_FILE_ASYNC:-true} +STATE_BACKEND_TYPE=${3:-file} +STATE_BACKEND_FILE_ASYNC=${4:-true} --- End diff -- will do ð ---
[GitHub] flink pull request #6008: [FLINK-9354][travis] Print execution times for nig...
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/6008#discussion_r188548653 --- Diff: flink-end-to-end-tests/test-scripts/test_resume_savepoint.sh --- @@ -33,8 +33,8 @@ else NUM_SLOTS=$NEW_DOP fi -STATE_BACKEND_TYPE=${STATE_BACKEND_TYPE:-file} -STATE_BACKEND_FILE_ASYNC=${STATE_BACKEND_FILE_ASYNC:-true} +STATE_BACKEND_TYPE=${3:-file} +STATE_BACKEND_FILE_ASYNC=${4:-true} --- End diff -- We should also update the usage message at the beginning of this file to reflect these extra parameters. ---
[GitHub] flink pull request #6008: [FLINK-9354][travis] Print execution times for nig...
Github user tzulitai commented on a diff in the pull request: https://github.com/apache/flink/pull/6008#discussion_r188507930 --- Diff: flink-end-to-end-tests/run-nightly-tests.sh --- @@ -43,121 +43,151 @@ EXIT_CODE=0 # printf "\n==\n" # printf "Running my fancy nightly end-to-end test\n" # printf "==\n" +# start_timer # $END_TO_END_DIR/test-scripts/test_something_very_fancy.sh # EXIT_CODE=$? +# end_timer # fi if [ $EXIT_CODE == 0 ]; then printf "\n==\n" printf "Running HA end-to-end test\n" printf "==\n" +start_timer $END_TO_END_DIR/test-scripts/test_ha.sh EXIT_CODE=$? +end_timer fi if [ $EXIT_CODE == 0 ]; then printf "\n==\n" printf "Running Resuming Savepoint (file, async, no parallelism change) end-to-end test\n" printf "==\n" + start_timer STATE_BACKEND_TYPE=file STATE_BACKEND_FILE_ASYNC=true $END_TO_END_DIR/test-scripts/test_resume_savepoint.sh 2 2 EXIT_CODE=$? + end_timer fi if [ $EXIT_CODE == 0 ]; then printf "\n==\n" printf "Running Resuming Savepoint (file, sync, no parallelism change) end-to-end test\n" printf "==\n" + start_timer STATE_BACKEND_TYPE=file STATE_BACKEND_FILE_ASYNC=false $END_TO_END_DIR/test-scripts/test_resume_savepoint.sh 2 2 EXIT_CODE=$? + end_timer fi if [ $EXIT_CODE == 0 ]; then printf "\n==\n" printf "Running Resuming Savepoint (file, async, scale up) end-to-end test\n" printf "==\n" + start_timer STATE_BACKEND_TYPE=file STATE_BACKEND_FILE_ASYNC=true $END_TO_END_DIR/test-scripts/test_resume_savepoint.sh 2 4 EXIT_CODE=$? + end_timer fi --- End diff -- Perhaps we can refactor this whole block into a common base script for the nightly / pre-commit hook scripts. The end_timer / start_timer functions should also be located there. ---
[GitHub] flink pull request #6008: [FLINK-9354][travis] Print execution times for nig...
GitHub user zentol opened a pull request: https://github.com/apache/flink/pull/6008 [FLINK-9354][travis] Print execution times for nightly E2E tests ## What is the purpose of the change With this PR we print the execution time for all end-to-end tests. ## Brief change log * add `start_timer`/`end_timer` functions to `common.sh` * cover all E2E invocations with timers ## Verifying this change * observe travis output when execution e2e tests You can merge this pull request into a Git repository by running: $ git pull https://github.com/zentol/flink 9354 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/6008.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #6008 commit f3893e798fc4cbe93d6eb2b3a0a9ad771bc8595f Author: zentolDate: 2018-05-14T10:27:34Z [FLINK-9354][travis] Print execution times for nightly E2E tests ---