Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
SS and MS run modes added
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsuresh committed Feb 28, 2022
1 parent 47e4938 commit 68acd67
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions script/run/run_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ _docker=${DOCKER:-no}

_offline_only=${OFFLINE_ONLY:-no}
_server_only=${SERVER_ONLY:-no}
_singlestream_only=${SINGLESTREAM_ONLY:-no}
_multistream_only=${MULTISTREAM_ONLY:-no}

_power=${POWER:-no}

Expand Down Expand Up @@ -113,9 +115,13 @@ if [[ $_power == 'yes' ]]; then
fi

if [[ ${_offline_only} == 'yes' ]]; then
_RUN_TYPES="--mode=performance --scenario=offline"
_RUN_TYPES="--group.${_division} --scenario=offline"
elif [[ ${_server_only} == 'yes' ]]; then
_RUN_TYPES="--mode=performance --scenario=server"
_RUN_TYPES="--group.${_division} --scenario=server"
elif [[ ${_singlestream_only} == 'yes' ]]; then
_RUN_TYPES="--group.${_division} --scenario=singlestream"
elif [[ ${_multistream_only} == 'yes' ]]; then
_RUN_TYPES="--group.${_division} --scenario=multistream"
else
_RUN_TYPES="--group.${_category} --group.${_division}"
fi
Expand Down

0 comments on commit 68acd67

Please sign in to comment.