File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ DIST_BASE_URL ?= https://archive.apache.org/dist/kafka/
1010# The values here are taken from the 2.4.0 release.
1111export KAFKA_JVM_PERFORMANCE_OPTS=-server -XX :+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -XX:+ExplicitGCInvokesConcurrent -Djava.awt.headless=true -Djava.security.manager=allow
1212
13+ PYTESTS ?= 'test'
14+
1315setup :
1416 pip install -r requirements-dev.txt
1517 pip install -Ue .
1820 pylint --recursive=y --errors-only kafka test
1921
2022test : build-integration
21- pytest --durations=10 kafka test
22-
23- # Test using pytest directly if you want to use local python. Useful for other
24- # platforms that require manual installation for C libraries, ie. Windows.
25- test-local : build-integration
26- pytest --pylint --pylint-rcfile=pylint.rc --pylint-error-types=EF $(TEST_FLAGS ) kafka test
23+ pytest --durations=10 $(PYTESTS )
2724
2825cov-local : build-integration
2926 pytest --pylint --pylint-rcfile=pylint.rc --pylint-error-types=EF --cov=kafka \
You can’t perform that action at this time.
0 commit comments