Skip to content

Commit

Permalink
Fix docker-compose CI integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
g7ed6e committed Jun 27, 2024
1 parent 4256bb1 commit b429a6f
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ services:
image: confluentinc/confluent-local
environment:
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT,PLAINTEXT_INTERNAL:PLAINTEXT
KAFKA_LISTENERS: PLAINTEXT://localhost:29092,CONTROLLER://localhost:29093,PLAINTEXT_HOST://0.0.0.0:9092,PLAINTEXT_INTERNAL://kafka:9092
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://localhost:29092,PLAINTEXT_INTERNAL://kafka:9092,PLAINTEXT_HOST://localhost:9092
KAFKA_LISTENERS: PLAINTEXT://localhost:29092,CONTROLLER://localhost:29093,PLAINTEXT_HOST://0.0.0.0:9092,PLAINTEXT_INTERNAL://kafka:9093
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://localhost:29092,PLAINTEXT_INTERNAL://kafka:9093,PLAINTEXT_HOST://localhost:9092
ports:
- "9092:9092"
- "9093:9093"

tests:
build:
context: .
dockerfile: ./test/OpenTelemetry.Instrumentation.ConfluentKafka.Tests/Dockerfile
command: --TestCaseFilter:CategoryName=KafkaIntegrationTests
environment:
- OTEL_KAFKAENDPOINT=kafka:9092
- OTEL_KAFKAENDPOINT=kafka:9093
depends_on:
- kafka

0 comments on commit b429a6f

Please sign in to comment.