minor #40118 Fix kafka tests (jderusse)

This PR was merged into the 5.2 branch.

Discussion
----------

Fix kafka tests

| Q             | A
| ------------- | ---
| Branch?       | 5.2
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

Fix github-actions tests with kafka.

I'm not sure why (probably a change in github actions), but localhost resolves to ipv6 which is breaks our testing setup

Commits
-------

8d6c64dcde Fix kafka tests
This commit is contained in:
Nyholm 2021-02-06 16:54:55 +01:00
commit d8e36f2940
No known key found for this signature in database
GPG Key ID: D6332DE2B6F8FA38

View File

@ -89,7 +89,7 @@ jobs:
env:
KAFKA_AUTO_CREATE_TOPICS_ENABLE: false
KAFKA_CREATE_TOPICS: 'test-topic:1:1:compact'
KAFKA_ADVERTISED_HOST_NAME: localhost
KAFKA_ADVERTISED_HOST_NAME: 127.0.0.1
KAFKA_ZOOKEEPER_CONNECT: 'zookeeper:2181'
KAFKA_ADVERTISED_PORT: 9092
@ -177,7 +177,7 @@ jobs:
LDAP_HOST: localhost
LDAP_PORT: 3389
MONGODB_HOST: localhost
KAFKA_BROKER: localhost:9092
KAFKA_BROKER: 127.0.0.1:9092
POSTGRES_HOST: localhost
- name: Run HTTP push tests