Skip to content

Commit c29a6c7

Browse files
committed
kafkatest: limit num_workers to 12 to speed up test times
1 parent b1fb8a1 commit c29a6c7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/system/run-tests.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ fi
155155
echo "Grabbing Vagrantfile.local"
156156
cp $WORKSPACE/jenkins-common/scripts/system-tests/kafka-system-test/Vagrantfile.local $KAFKA_DIR
157157

158+
# The client system tests only need about 12 workers, rather than
159+
# the default 30 (or so). This speeds up test start up times.
160+
sed -i=bak 's/^num_workers.*/num_workers = 12/g' $KAFKA_DIR/Vagrantfile.local
161+
158162
if [ "x$DESTROY_BEFORE" == "xtrue" ]; then
159163
echo "Destroying Vagrant cluster before running tests..."
160164
cd $KAFKA_DIR

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy