Skip to content

Commit 7fc632a

Browse files
committed
prevent wrong version unit test from exiting the test suite
1 parent 87b4e73 commit 7fc632a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

library_generation/test/generate_library_unit_tests.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ generate_library_failed_with_invalid_generator_version() {
181181
local destination="google-cloud-alloydb-v1-java"
182182
local res=0
183183
cd "${script_dir}/resources"
184-
"${script_dir}"/../generate_library.sh \
184+
bash "${script_dir}"/../generate_library.sh \
185185
-p google/cloud/alloydb/v1 \
186186
-d ../"${destination}" \
187187
--gapic_generator_version 1.99.0 \
@@ -198,7 +198,7 @@ generate_library_failed_with_invalid_protobuf_version() {
198198
local destination="google-cloud-alloydb-v1-java"
199199
local res=0
200200
cd "${script_dir}/resources"
201-
"${script_dir}"/../generate_library.sh \
201+
bash "${script_dir}"/../generate_library.sh \
202202
-p google/cloud/alloydb/v1 \
203203
-d ../"${destination}" \
204204
--gapic_generator_version 2.24.0 \
@@ -215,7 +215,7 @@ generate_library_failed_with_invalid_grpc_version() {
215215
local destination="google-cloud-alloydb-v1-java"
216216
local res=0
217217
cd "${script_dir}/resources"
218-
"${script_dir}"/../generate_library.sh \
218+
bash "${script_dir}"/../generate_library.sh \
219219
-p google/cloud/alloydb/v1 \
220220
-d ../output/"${destination}" \
221221
--gapic_generator_version 2.24.0 \

0 commit comments

Comments
 (0)