test: fix e2e test

This commit is contained in:
hengyoush
2024-11-08 00:20:22 +08:00
parent 5769a2e5a8
commit b2562428c8
2 changed files with 3 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ function test_redis_client() {
cat "${CLIENT_LNAME}"
docker rm -f $cid1 || true
# check_time_detail_completed_with_last_lines "${LNAME}" 3
check_patterns_in_file_with_last_lines "${CLIENT_LNAME}" "HGET" 3
check_patterns_in_file "${CLIENT_LNAME}" "HGET"
}
@@ -56,7 +56,7 @@ function test_redis_server() {
cat "${SERVER_LNAME}"
docker rm -f $cid1 || true
# check_time_detail_completed_with_last_lines "${LNAME}" 3
check_patterns_in_file_with_last_lines "${SERVER_LNAME}" "HGET" 3
check_patterns_in_file "${SERVER_LNAME}" "HGET"
}

View File

@@ -62,7 +62,7 @@ function test_side_client_nonmatch() {
timeout 30 ${CMD} watch --debug-output mysql --side server 2>&1 | tee "${CLIENT_NONMATCH_LNAME}" &
sleep 10
python3 ./testdata/query_mysql.py 5
python3 ./testdata/query_mysql.py 20
wait
cat "${CLIENT_NONMATCH_LNAME}"