Procházet zdrojové kódy

test: changes to make Kafka container run in GitHub action

Kjell Winblad před 3 roky
rodič
revize
a3c88b40a0

+ 4 - 0
.ci/docker-compose-file/docker-compose-kafka.yaml

@@ -33,10 +33,14 @@ services:
     ports:
       - "9092:9092"
       - "9093:9093"
+      - "9094:9094"
+      - "9095:9095"
     container_name: kafka-1.emqx.net
     hostname: kafka-1.emqx.net
     depends_on:
       - "kdc"
+      - "zookeeper"
+      - "ssl_cert_gen"
     environment:
       KAFKA_BROKER_ID: 1
       KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181

+ 1 - 1
lib-ee/emqx_ee_bridge/test/emqx_bridge_impl_kafka_producer_SUITE.erl

@@ -51,7 +51,7 @@ all() ->
 wait_until_kafka_is_up() ->
     wait_until_kafka_is_up(0).
 
-wait_until_kafka_is_up(90) ->
+wait_until_kafka_is_up(300) ->
     ct:fail("Kafka is not up even though we have waited for a while");
 wait_until_kafka_is_up(Attempts) ->
     KafkaTopic = "test-topic-one-partition",