Skip to content

Commit

Permalink
test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
JackyWoo committed Sep 13, 2024
1 parent 3088373 commit b68fc57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/run-integration-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@ function run_tests()
failed_test_cases=($(grep -E '^test.*(FAILED|ERROR)' /tmp/tests_output.log | grep '/' | awk -F'/' '{print $1}' | sort | uniq))
for failed_test_case in ${failed_test_cases[*]}
do
echo "######## $failed_test_case ########"
raftkeeper_instances=$(ls "$failed_test_case"/_instances | grep node)
for raftkeeper_instance in ${raftkeeper_instances[*]}
do
echo -e "\n----------------- Captured $failed_test_case $raftkeeper_instance raftkeeper-server.log -----------------"
sudo cat "$failed_test_case"/_instances/"$raftkeeper_instance"/logs/raftkeeper-server.log
#sudo cat "$failed_test_case"/_instances/"$raftkeeper_instance"/logs/raftkeeper-server.log
echo -e "\n----------------- Captured $failed_test_case $raftkeeper_instance stderr.log -----------------"
sudo cat "$failed_test_case"/_instances/"$raftkeeper_instance"/logs/stderr.log
#sudo cat "$failed_test_case"/_instances/"$raftkeeper_instance"/logs/stderr.log
done
done
fi
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_four_word_command/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def test_cmd_mntr(started_cluster):
if len(row) != 0:
result[row[0]] = row[1]

assert len(result["zk_version"]) != 0
assert len(result["zk_version"]) == 0

assert int(result["zk_avg_latency"]) >= 0
assert int(result["zk_max_latency"]) >= 0
Expand Down

0 comments on commit b68fc57

Please sign in to comment.