Clean up testing code

pull/148/head
Rongjian Lan 6 years ago
parent 2a8f65db60
commit 167e4462a7
  1. 1
      benchmark.go
  2. 6
      deploy.sh

@ -227,7 +227,6 @@ func main() {
go currentNode.SupportSyncing()
if consensus.IsLeader {
fmt.Println("I AM LEADER>.............")
go currentNode.SupportClient()
}
currentNode.StartServer()

@ -51,7 +51,7 @@ EOU
PEER=-peer_discovery
DB=
TXGEN=false
TXGEN=true
DURATION=90
MIN=5
SHARDS=2
@ -120,7 +120,7 @@ done < $config
# Emulate node offline
(sleep 45; killnode $KILLPORT) &
echo "launching txgen ..."
echo "launching txgen ..."Z
if [ "$TXGEN" == "true" ]; then
echo "launching txgen ..."
if [ -z "$PEER" ]; then
@ -130,4 +130,4 @@ if [ "$TXGEN" == "true" ]; then
fi
fi
# cleanup
cleanup

Loading…
Cancel
Save