diff --git a/cmd/client/txgen/main.go b/cmd/client/txgen/main.go index b707ee864..d392fcbf3 100644 --- a/cmd/client/txgen/main.go +++ b/cmd/client/txgen/main.go @@ -156,7 +156,7 @@ func main() { go func() { // wait for 3 seconds for client to send ping message to leader // FIXME (leo) the readySignal should be set once we really sent ping message to leader - time.Sleep(3 * time.Second) // wait for nodes to be ready + time.Sleep(1 * time.Second) // wait for nodes to be ready for _, i := range shardIDs { readySignal <- i } diff --git a/test/deploy.sh b/test/deploy.sh index fb2d491ba..f3480ac66 100755 --- a/test/deploy.sh +++ b/test/deploy.sh @@ -163,7 +163,7 @@ fi if [ "$TXGEN" == "true" ]; then echo "launching txgen ... wait" - sleep 2 +# sleep 2 line=$(grep client $config) IFS=' ' read ip port mode shardID <<< $line if [ "$mode" == "client" ]; then