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

Data API logs are not collected in github integration-tests #1034

Closed
Yuqi-Du opened this issue Apr 16, 2024 · 1 comment
Closed

Data API logs are not collected in github integration-tests #1034

Yuqi-Du opened this issue Apr 16, 2024 · 1 comment

Comments

@Yuqi-Du
Copy link
Contributor

Yuqi-Du commented Apr 16, 2024

The integration tests print out logging for the db infrastructure (coordinator and cassandra nodes) but not for the Data API itself. It would be helpful to have this enabled for debugging purposes.

@jeffreyscarpenter
Copy link
Contributor

The desired behavior is actually not supported by Quarkus/Testcontainers. If you really need to see the logs for a given test the options are:

  • run the test locally with Data API as a docker container, and either monitor the logs using the Docker UI or command line. Starting the API container external to the test is a good way to make sure the logs persist. This is described in the README.
  • run the test with Data API in dev mode - not as docker container.

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

Successfully merging a pull request may close this issue.

2 participants