Skip to content

Commit 217a24a

Browse files
committed
Checkout librdkafka and use same order as build.sh for bootstrap.sh
1 parent c24174e commit 217a24a

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

tests/soak/bootstrap.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22
#
33
#
44

5-
# Bootstrap EC2 instance (Ubuntu 18.04) for soak client use
5+
# Bootstrap EC2 instance (Ubuntu) for soak client use
66
#
77
# Usage:
88
# $0 <python-branch/tag> <librdkafka-branch/tag>
99

1010
set -e
1111

1212
if [[ $# != 2 ]]; then
13-
echo "Usage: $0 <python-client-branch/tag> <librdkafka-branch/tag>"
13+
echo "Usage: $0 <librdkafka-branch/tag> <python-client-branch/tag>"
1414
exit 1
1515
fi
1616

17-
python_branch=$1
18-
librdkafka_branch=$2
17+
librdkafka_branch=$1
18+
python_branch=$2
1919
otel_collector_version=0.130.0
2020
otel_collector_package_url="https://github.com/open-telemetry/"\
2121
"opentelemetry-collector-releases/releases/download/"\

tests/soak/build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ set -eu
1414

1515

1616
echo "Building and installing librdkafka $librdkafka_version"
17+
if [[ ! -d librdkafka ]]; then
18+
git clone https://github.com/confluentinc/librdkafka.git
19+
fi
1720
pushd librdkafka
1821
sudo make uninstall
1922
git fetch --tags

0 commit comments

Comments
 (0)