Skip to content

Commit 10be024

Browse files
committed
Pass Kafka broker and Schema Registry addresses via env variables in Python workload tests
Signed-off-by: rivudhk <rivudhkr@gmail.com>
1 parent ad98896 commit 10be024

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/test-integration-runtime.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,5 @@ jobs:
6262
env:
6363
PYTHONPATH: ${{ github.workspace }}/python
6464
FELDERA_TLS_INSECURE: true
65+
KAFKA_BOOTSTRAP_SERVERS: ${{ vars.CI_KAFKA_BOOTSTRAP }}
66+
SCHEMA_REGISTRY_URL: ${{ vars.CI_SCHEMA_REGISTRY }}

python/tests/workloads/test_kafka_avro.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ def env(name: str, default: str) -> str:
1616

1717
# Set these before running the test:
1818
# Example(terminal/shell):
19-
# export KAFKA_BOOTSTRAP_SERVERS = localhost:9092
20-
# export SCHEMA_REGISTRY_URL = http://localhost:8081
19+
# export KAFKA_BOOTSTRAP_SERVERS= localhost:9092
20+
# export SCHEMA_REGISTRY_URL= http://localhost:8081
2121

2222
KAFKA_BOOTSTRAP = env(
2323
"KAFKA_BOOTSTRAP_SERVERS", "ci-kafka-bootstrap.korat-vibes.ts.net:9094"

0 commit comments

Comments
 (0)