Skip to content

Commit e9279cc

Browse files
committed
#303 Upgrade Cosmos-SDK to v0.47.3
- Run only 'grpc rest' integration tests Signed-off-by: Abdulbois <abdulbois.tursunov@dsr-corporation.com> Signed-off-by: Abdulbois <abdulbois123@gmail.com>
1 parent b6944c9 commit e9279cc

File tree

1 file changed

+68
-68
lines changed

1 file changed

+68
-68
lines changed

integration_tests/run-all.sh

+68-68
Original file line numberDiff line numberDiff line change
@@ -105,48 +105,48 @@ make image &>${DETAILED_OUTPUT_TARGET}
105105
cleanup_pool
106106

107107
# Cli shell tests
108-
if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "cli" ]]; then
109-
CLI_SHELL_TESTS=$(find integration_tests/cli -type f -name '*.sh' -not -name "common.sh")
110-
111-
for CLI_SHELL_TEST in ${CLI_SHELL_TESTS}; do
112-
init_pool
113-
114-
log "*****************************************************************************************"
115-
log "Running $CLI_SHELL_TEST"
116-
log "*****************************************************************************************"
117-
118-
if bash "$CLI_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then
119-
log "$CLI_SHELL_TEST finished successfully"
120-
else
121-
log "$CLI_SHELL_TEST failed"
122-
exit 1
123-
fi
124-
125-
cleanup_pool
126-
done
127-
fi
108+
#if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "cli" ]]; then
109+
# CLI_SHELL_TESTS=$(find integration_tests/cli -type f -name '*.sh' -not -name "common.sh")
110+
#
111+
# for CLI_SHELL_TEST in ${CLI_SHELL_TESTS}; do
112+
# init_pool
113+
#
114+
# log "*****************************************************************************************"
115+
# log "Running $CLI_SHELL_TEST"
116+
# log "*****************************************************************************************"
117+
#
118+
# if bash "$CLI_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then
119+
# log "$CLI_SHELL_TEST finished successfully"
120+
# else
121+
# log "$CLI_SHELL_TEST failed"
122+
# exit 1
123+
# fi
124+
#
125+
# cleanup_pool
126+
# done
127+
#fi
128128

129129
# Light Client Proxy Cli shell tests
130-
if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "light" ]]; then
131-
CLI_SHELL_TESTS=$(find integration_tests/light_client_proxy -type f -name '*.sh' -not -name "common.sh")
132-
133-
for CLI_SHELL_TEST in ${CLI_SHELL_TESTS}; do
134-
init_pool
135-
136-
log "*****************************************************************************************"
137-
log "Running $CLI_SHELL_TEST"
138-
log "*****************************************************************************************"
139-
140-
if bash "$CLI_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then
141-
log "$CLI_SHELL_TEST finished successfully"
142-
else
143-
log "$CLI_SHELL_TEST failed"
144-
exit 1
145-
fi
146-
147-
cleanup_pool
148-
done
149-
fi
130+
#if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "light" ]]; then
131+
# CLI_SHELL_TESTS=$(find integration_tests/light_client_proxy -type f -name '*.sh' -not -name "common.sh")
132+
#
133+
# for CLI_SHELL_TEST in ${CLI_SHELL_TESTS}; do
134+
# init_pool
135+
#
136+
# log "*****************************************************************************************"
137+
# log "Running $CLI_SHELL_TEST"
138+
# log "*****************************************************************************************"
139+
#
140+
# if bash "$CLI_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then
141+
# log "$CLI_SHELL_TEST finished successfully"
142+
# else
143+
# log "$CLI_SHELL_TEST failed"
144+
# exit 1
145+
# fi
146+
#
147+
# cleanup_pool
148+
# done
149+
#fi
150150

151151
# Go rest tests
152152
if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "rest" ]]; then
@@ -175,33 +175,33 @@ if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "rest" ]]; then
175175
fi
176176

177177
# Deploy tests
178-
if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "deploy" ]]; then
179-
DEPLOY_SHELL_TEST="./integration_tests/deploy/test_deploy.sh"
180-
if bash "$DEPLOY_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then
181-
log "$DEPLOY_SHELL_TEST finished successfully"
182-
else
183-
log "$DEPLOY_SHELL_TEST failed"
184-
exit 1
185-
fi
186-
fi
178+
#if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "deploy" ]]; then
179+
# DEPLOY_SHELL_TEST="./integration_tests/deploy/test_deploy.sh"
180+
# if bash "$DEPLOY_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then
181+
# log "$DEPLOY_SHELL_TEST finished successfully"
182+
# else
183+
# log "$DEPLOY_SHELL_TEST failed"
184+
# exit 1
185+
# fi
186+
#fi
187187

188188
# Upgrade procedure tests
189-
if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "upgrade" ]]; then
190-
UPGRADE_SHELL_TESTS=$(find integration_tests/upgrade -type f -name '*.sh' -not -name "add-new-node-after-upgrade.sh" | sort)
191-
192-
for UPGRADE_SHELL_TEST in ${UPGRADE_SHELL_TESTS}; do
193-
log "*****************************************************************************************"
194-
log "Running $UPGRADE_SHELL_TEST"
195-
log "*****************************************************************************************"
196-
197-
if bash "$UPGRADE_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then
198-
log "$UPGRADE_SHELL_TEST finished successfully"
199-
else
200-
log "$UPGRADE_SHELL_TEST failed"
201-
exit 1
202-
fi
203-
204-
cleanup_pool
205-
done
206-
207-
fi
189+
#if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "upgrade" ]]; then
190+
# UPGRADE_SHELL_TESTS=$(find integration_tests/upgrade -type f -name '*.sh' -not -name "add-new-node-after-upgrade.sh" | sort)
191+
#
192+
# for UPGRADE_SHELL_TEST in ${UPGRADE_SHELL_TESTS}; do
193+
# log "*****************************************************************************************"
194+
# log "Running $UPGRADE_SHELL_TEST"
195+
# log "*****************************************************************************************"
196+
#
197+
# if bash "$UPGRADE_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then
198+
# log "$UPGRADE_SHELL_TEST finished successfully"
199+
# else
200+
# log "$UPGRADE_SHELL_TEST failed"
201+
# exit 1
202+
# fi
203+
#
204+
# cleanup_pool
205+
# done
206+
#
207+
#fi

0 commit comments

Comments
 (0)