From 1afe0cb45fe2631d2d348d6b3f02885996115eb9 Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Thu, 12 Jan 2017 18:45:41 -0500 Subject: [PATCH] test: always rebuild grpc_client --- test/app/counter_test.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/app/counter_test.sh b/test/app/counter_test.sh index c0ae57245..439926a5d 100644 --- a/test/app/counter_test.sh +++ b/test/app/counter_test.sh @@ -35,9 +35,11 @@ function sendTx() { RESPONSE=`echo $RESPONSE | jq .result[1]` else - if [ ! -f grpc_client ]; then - go build -o grpc_client grpc_client.go + if [ -f grpc_client ]; then + rm grpc_client fi + echo "... building grpc_client" + go build -o grpc_client grpc_client.go RESPONSE=`./grpc_client $TX` ERROR="" fi