You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should be either set automatically (I am not sure why is the localhost IP hardcoded, as gnomock does know that I am using DOCKER_HOST) or, at least, documented
The text was updated successfully, but these errors were encountered:
Note, you cannot use the DOCKER_HOST directly, you need to first resolve it if it's not an IP address, otherwise I get error replication-factor is invalid (not sure what that means)
Thanks for reporting this @karelbilek.
Do you think the code you suggested can be merged into the Kafka preset, instead of being used externally in the test?
Describe the bug
If you are using different DOCKER_HOST than localhost, kafka gnomock doesn't work.
To Reproduce
Expected behavior
Everything works
System (please complete the following information):
Additional context
The whole issue is caused by ADV_HOST being hard-coded to 127.0.0.1 in the preset.
The solution was, for me, write this at the start of the test:
And later:
This should be either set automatically (I am not sure why is the localhost IP hardcoded, as gnomock does know that I am using DOCKER_HOST) or, at least, documented
The text was updated successfully, but these errors were encountered: