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

[MySQL] errors during test for graal native-compile project #1414

Open
whitemay opened this issue Feb 22, 2024 · 0 comments
Open

[MySQL] errors during test for graal native-compile project #1414

whitemay opened this issue Feb 22, 2024 · 0 comments

Comments

@whitemay
Copy link

Questions

Do not use this issue tracker to ask questions, instead use one of these channels. Questions will likely be closed without notice.

Version

above v4.5.1. v4.5.0 works fine.

Context

I try to use graalvm to build a vertx project. in the phase of collecting metadata, test suites run as below:

mvn -Pnative -Dagent=true test

but mysql just not work. error message below:

ClosedConnection Failed to read any response from the server, the underlying connection may have been lost unexpectedly.

but if i run surefire:test, it works fine.

Do you have a reproducer?

A reproducer is a simple project hosted on GitHub (or another forge supporting git clone operation) that has a build file that can be executed to reproduce the issue.

Reproducers are very helpful for contributors and will likely help them fixing your bug faster.

Steps to reproduce

  1. mvn kotlin:test-compile
  2. use a mysql database, and change the test file to adjust config
  3. mvn -Pnative -Dagent=true surefire:test
  4. mvn -Pnative -Dagent=test test

Extra

  • I had tried on MacOS/arm64 and Linux/amd64, all produce the issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants