Skip to content

Commit e9ba7fb

Browse files
committed
Fixed failing smoketest
1 parent abb48bd commit e9ba7fb

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ tmp-KafkaCluster
2929
.venv
3030
venv_test
3131
venv_examples
32+
*Zone.Identifier

tests/integration/admin/__init__.py

Whitespace-only changes.

tools/smoketest.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,13 @@ for py in 3.9 ; do
8585
# Copy unit tests to temporary directory to avoid any conflicting __pycache__
8686
# directories from the source tree.
8787
testdir=$(mktemp -d /tmp/_testdirXXXXXX)
88-
cp tests/*.py $testdir/
88+
mkdir -p $testdir/tests
89+
cp tests/*.py $testdir/tests/
90+
cp -r tests/common $testdir/tests/
8991

9092
# Change to a neutral path where there is no confluent_kafka sub-directory
9193
# that might interfere with module load.
92-
pushd $testdir
94+
pushd $testdir/tests
9395
echo "$0: Running unit tests"
9496
pytest
9597

@@ -123,7 +125,7 @@ c = Consumer({"group.id": "test-linux", "plugin.library.paths": "monitoring-inte
123125
all_fails="$all_fails \[py$py: $fails\]"
124126
fi
125127

126-
popd # $testdir
128+
popd # $testdir/tests
127129
done
128130

129131
if [[ -z $pyvers_tested ]]; then

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