Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow getting host IP #38

Open
kaklakariada opened this issue Aug 28, 2023 · 1 comment
Open

Allow getting host IP #38

kaklakariada opened this issue Aug 28, 2023 · 1 comment
Labels
feature Product feature

Comments

@kaklakariada
Copy link
Collaborator

kaklakariada commented Aug 28, 2023

When using exasol-test-setup-abstraction-server in integration tests where we need to access the Exasol database from another docker container, the connection info object returns exasolContainer.getHost() as host which usually is localhost. This name however won't work when trying to access Exasol from another docker container. In this case the exasolContainer.getHostIp() might be more helpful.

AC

  • The SqlConnectionInfo object returned by getConnectionInfo() contains additionally the result of exasolContainer.getHostIp() in case of ExasolTestcontainerTestSetup.
  • For StandaloneExasolTestSetup we need to find another value that makes sense in this case.

Workaround

Use hard-coded IP address 172.17.0.1.

@kaklakariada kaklakariada added the feature Product feature label Aug 28, 2023
@redcatbear
Copy link
Contributor

@kaklakariada, please add custom fields, especially estimation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Product feature
Projects
None yet
Development

No branches or pull requests

2 participants