Skip to content

Commit

Permalink
fix ci error (#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
yegetables committed Apr 24, 2023
1 parent 58cb4ac commit 86a0b62
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scripts/.get_perf.sh
Expand Up @@ -74,9 +74,15 @@ func TestReadWrite(t *testing.T) {
echo "$bench_file" > kv/test_raftstore/bench_test.go
go test ./kv/test_raftstore/ -run ReadWrite -v > bench.log
score=$(grep QPS: bench.log | awk '{print $3}')
rm bench.log

if [ -z "$score" ]
then
score=0
fi

if [ $(expr $score \> 1000) ]; then
echo "PASS"
else
echo "FAILED"
fi
rm bench.log

0 comments on commit 86a0b62

Please sign in to comment.