File tree Expand file tree Collapse file tree 5 files changed +10
-6
lines changed Expand file tree Collapse file tree 5 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
# A shell script to run in an ECS hosted task
3
- set -ex
3
+ set -e
4
+
5
+ echo " Running ECS hosted test..."
4
6
5
7
# The environment variable is always set during interactive logins
6
8
# But for non-interactive logs, ~/.bashrc does not appear to be read on Ubuntu but it works on Fedora
@@ -14,3 +16,5 @@ mkdir -p /data/db || true
14
16
sleep 1
15
17
/root/mongosh --verbose ecs_hosted_test.js
16
18
bash /root/src/.evergreen/run-mongodb-aws-ecs-test.sh " mongodb://localhost/aws?authMechanism=MONGODB-AWS"
19
+
20
+ echo " Running ECS hosted test... done."
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
# Install the drivers orchestration scripts.
3
3
4
- set -eux
4
+ set -eu
5
5
6
6
if [ -z " $BASH " ]; then
7
7
echo " install-cli.sh must be run in a Bash shell!" 1>&2
Original file line number Diff line number Diff line change @@ -89,8 +89,6 @@ node_download_url="https://nodejs.org/dist/${node_index_version}/${node_archive}
89
89
90
90
echo " Node.js ${node_index_version} for ${operating_system} -${architecture} released on ${node_index_date} "
91
91
92
- set -o xtrace
93
-
94
92
if [[ " $file_extension " = " zip" ]]; then
95
93
if [[ -d " ${NODE_ARTIFACTS_PATH} /nodejs/bin/${node_directory} " ]]; then
96
94
echo " Node.js already installed!"
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
3
# Test mongodl and mongosh_dl.
4
- set -eux
4
+ set -eu
5
5
6
6
SCRIPT_DIR=$( dirname ${BASH_SOURCE[0]} )
7
7
. $SCRIPT_DIR /../handle-paths.sh
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
3
# Test csfle
4
- set -eux
4
+ set -eu
5
5
6
6
SCRIPT_DIR=$( dirname ${BASH_SOURCE[0]} )
7
7
. $SCRIPT_DIR /../handle-paths.sh
@@ -13,13 +13,15 @@ PYTHON_BINARY=$(bash -c ". $SCRIPT_DIR/../find-python3.sh && ensure_python3 2>/d
13
13
export PYTHON_BINARY
14
14
15
15
function run_test() {
16
+ echo " Running csfle test with $PYTHON_BINARY ..."
16
17
bash ./setup.sh
17
18
bash ./teardown.sh
18
19
# Bail on Windows due to permission errors trying to remove the kmstlsvenv folder.
19
20
if [[ " $( uname -s) " == CYGWIN* ]]; then
20
21
return 0
21
22
fi
22
23
rm -rf kmstlsvenv
24
+ echo " Running csfle test with $PYTHON_BINARY ... done."
23
25
}
24
26
run_test
25
27
You can’t perform that action at this time.
0 commit comments