xintongsong commented on a change in pull request #10687: [FLINK-15364]
Introduce streaming task using heap backend e2e tests for Mesos
URL: https://github.com/apache/flink/pull/10687#discussion_r361302622
##########
File path: flink-end-to-end-tests/test-scripts/common.sh
##########
@@ -634,11 +634,7 @@ function wait_num_of_occurence_in_logs {
local text=$1
local number=$2
local logs
- if [ -z "$3" ]; then
- logs="standalonesession"
- else
- logs="$3"
- fi
+ local logs=${3-standalonesession}
Review comment:
Redundant variable declaration in the previous line.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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