File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
confluent_kafka/kafkatest Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 6
6
7
7
set -ex
8
8
9
+ # Relative directory where we put our stuff.
10
+ # $KAFKA_DIR/$REL_DIR on host, and /vagrant/$REL_DIR on worker
11
+ REL_DIR=tests/confluent-kafka-python
12
+
9
13
if [[ $1 == " --prepare" ]]; then
10
14
#
11
15
# On host: prepare kafka directory with artifacts needed on worker instances
@@ -25,7 +29,7 @@ if [[ $1 == "--prepare" ]]; then
25
29
exit 1
26
30
fi
27
31
28
- DIR=" $KAFKA_DIR /tests/confluent-kafka-python "
32
+ DIR=" $KAFKA_DIR /$REL_DIR "
29
33
mkdir -p $DIR
30
34
31
35
# Copy this script
@@ -92,7 +96,7 @@ function install_librdkafka {
92
96
93
97
function install_client {
94
98
pip uninstall -y confluent_kafka || true
95
- pip install -U --only-binary confluent_kafka --no-index -f /vagrant/wheels/ confluent_kafka
99
+ pip install -U --only-binary confluent_kafka --no-index -f /vagrant/$REL_DIR confluent_kafka
96
100
}
97
101
98
102
function verify_client {
You can’t perform that action at this time.
0 commit comments