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

CORTX-30083: Fix Codacy issues under "net" directory #1935

Merged
merged 1 commit into from
Aug 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions net/test/st/run-1x1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ node_start_addr()
DIR_COUNTER=$(($DIR_COUNTER + 1))
"$CMD_M0NETTESTD" -a "$addr" -c "$addr_console" &
popd > /dev/null
eval PID_"$4"=$!
eval PID_"${pid_role}"=$!
fi
}

Expand Down Expand Up @@ -145,7 +145,7 @@ fi
"$PARSABLE" \
$BULK_PARAMETERS &
PID_CONSOLE=$!
wait $PID_CONSOLE
wait "$PID_CONSOLE"

# The same time for fini
sleep "$NODE_INIT_DELAY"
22 changes: 11 additions & 11 deletions net/test/st/st-bulk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@

CWD=$(cd "$( dirname "$0")" && pwd)

source $CWD/st-config.sh
TEST_TYPE="bulk"
MSG_NR=1048576
MSG_SIZE=1m
CONCURRENCY_CLIENT=8
CONCURRENCY_SERVER=16
BD_BUF_NR_CLIENT=16
BD_BUF_NR_SERVER=32
BD_BUF_SIZE=16k
BD_BUF_NR_MAX=8
source "$CWD"/st-config.sh
export TEST_TYPE="bulk"
export MSG_NR=1048576
export MSG_SIZE=1m
export CONCURRENCY_CLIENT=8
export CONCURRENCY_SERVER=16
export BD_BUF_NR_CLIENT=16
export BD_BUF_NR_SERVER=32
export BD_BUF_SIZE=16k
export BD_BUF_NR_MAX=8

source $CWD/run-1x1.sh
source "$CWD"/run-1x1.sh