This is an automated email from the ASF dual-hosted git repository.

mapohl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new 29b5213aae0 [FLINK-26624][runtime] Running HA (hashmap, async) 
end-to-end test failed on azure due to unable to find master logs (#23614)
29b5213aae0 is described below

commit 29b5213aae0f3dbd108909881083dc114cfc15aa
Author: yuxiang <384669...@qq.com>
AuthorDate: Tue Oct 31 21:31:20 2023 +0800

    [FLINK-26624][runtime] Running HA (hashmap, async) end-to-end test failed 
on azure due to unable to find master logs (#23614)
    
    Co-authored-by: yu <13485876233>
---
 flink-end-to-end-tests/test-scripts/common_ha.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flink-end-to-end-tests/test-scripts/common_ha.sh 
b/flink-end-to-end-tests/test-scripts/common_ha.sh
index 23f89eea0bb..a18bd15da46 100644
--- a/flink-end-to-end-tests/test-scripts/common_ha.sh
+++ b/flink-end-to-end-tests/test-scripts/common_ha.sh
@@ -49,7 +49,7 @@ function verify_num_occurences_in_logs() {
     local text="$2"
     local expected_no="$3"
 
-    local actual_no=$(grep -r --include "*${log_pattern}*.log*" -e "${text}" 
"$FLINK_LOG_DIR/" | cut -d ":" -f 1 | sed "s/\.[0-9]\{1,\}$//g" | uniq | wc -l)
+    local actual_no=$(grep -r --include "*${log_pattern}*.log*" -e "${text}" 
"$FLINK_LOG_DIR/" | cut -d ":" -f 1 | sed "s/\.[0-9]\{1,\}$//g" | sort -u | wc 
-l)
     [[ "${expected_no}" -eq "${actual_no}" ]]
 }
 

Reply via email to