Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit 4158fa8

Browse files
authored
Cclark/fix test setup (#5)
* remove compose buildkite steps * fix test setup
1 parent f8ecef5 commit 4158fa8

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

test/smoke-test.sh

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,10 @@ set -euxfo pipefail
44
deploy_sourcegraph() {
55
cd $(dirname "${BASH_SOURCE[0]}")/..
66
#Deploy sourcegraph
7-
if [[ "$TEST_TYPE" == "pure-docker-test" ]]; then
8-
./test/volume-config.sh
9-
timeout 600s ./pure-docker/deploy.sh
7+
./test/volume-config.sh
8+
timeout 600s ./pure-docker/deploy.sh
109

11-
if [[ "$GIT_BRANCH" == *"customer-replica"* ]]; then
12-
# Expected number of containers on e.g. 3.18-customer-replica branch.
13-
expect_containers="61"
14-
else
15-
# Expected number of containers on `master` branch.
16-
expect_containers="26"
17-
fi
18-
elif [[ "$TEST_TYPE" == "docker-compose-test" ]]; then
19-
docker-compose --file docker-compose/docker-compose.yaml up -d -t 600
20-
expect_containers="27"
21-
fi
10+
expect_containers="61"
2211

2312
echo "Giving containers 90s to start..."
2413
sleep 90

0 commit comments

Comments
 (0)