From 587fac265da5e2263c2a98f915b667aa6c6cd6ec Mon Sep 17 00:00:00 2001 From: Alfredo Gutierrez Date: Fri, 23 Aug 2024 15:44:19 -0600 Subject: [PATCH] test: Fix smoke test after PBJ Changes were merged and rebased (#133) Signed-off-by: Alfredo Gutierrez --- server/src/test/resources/get-block.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/server/src/test/resources/get-block.sh b/server/src/test/resources/get-block.sh index c441d1aed..8837d43e3 100755 --- a/server/src/test/resources/get-block.sh +++ b/server/src/test/resources/get-block.sh @@ -15,11 +15,10 @@ echo "Param is: $1" # Use environment variables or default values GRPC_SERVER=${GRPC_SERVER:-"localhost:8080"} -GRPC_METHOD=${GRPC_METHOD:-"BlockStreamGrpcService/singleBlock"} -PATH_TO_PROTO=${PATH_TO_PROTO:-"../../../../protos/src/main/protobuf/blockstream.proto"} -PROTO_IMPORT_PATH=${PROTO_IMPORT_PATH:-"../../../../protos/src/main/protobuf"} +GRPC_METHOD=${GRPC_METHOD:-"com.hedera.hapi.block.BlockStreamService/singleBlock"} +PATH_TO_PROTO="./block_service.proto" echo "Requesting block $1..." # Response block messages from the gRPC server are printed to stdout. -echo "{\"block_number\": $1}" | grpcurl -plaintext -import-path $PROTO_IMPORT_PATH -proto $PATH_TO_PROTO -d @ $GRPC_SERVER $GRPC_METHOD +echo "{\"block_number\": $1}" | grpcurl -plaintext -proto $PATH_TO_PROTO -d @ $GRPC_SERVER $GRPC_METHOD