revision-id: 878952d1488d7646d870bd6e6e0752cb69ada1b1 () parent(s): 7734e151742b73523416ffa7ca4b6485611ff782 author: Sergei Petrunia committer: Sergei Petrunia timestamp: 2020-03-16 01:03:38 +0300 message: Save tree info --- run-test.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/run-test.sh b/run-test.sh index 7a996ca..ef68cb1 100755 --- a/run-test.sh +++ b/run-test.sh @@ -61,6 +61,7 @@ if [ -d $RESULT_DIR ]; then exit 1 fi + echo "Starting test "$RUN_NAME" with $SERVER_DIR" if [[ $USE_PERF ]] ; then echo " Collecting perf profile" @@ -104,7 +105,7 @@ while true ; do sleep 5 client_attempts=0 while true ; do - $MYSQL_CMD -e "drop database sbtest" + $MYSQL_CMD -e "drop database if exists sbtest" $MYSQL_CMD -e "create database sbtest" if [ $? -eq 0 ]; then @@ -153,6 +154,9 @@ fi ## /usr/share/sysbench/oltp_write_only.lua --table-size=250000 --tables=4" SYSBENCH_TEST="oltp_write_only.lua" +(cd $SERVER_DIR && git log -1 ) > $RESULT_DIR/server-cset.txt +(cd $SERVER_DIR/rocksdb && git log -1 ) > $RESULT_DIR/rocksdb-cset.txt + cat > $RESULT_DIR/info.txt <<END SERVERNAME=$SERVERNAME SYSBENCH_TEST=$SYSBENCH_TEST