[MySQL] errors during test for graal native-compile project
Opened this issue · 0 comments
whitemay commented
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
- mvn kotlin:test-compile
- use a mysql database, and change the test file to adjust config
- mvn -Pnative -Dagent=true surefire:test
- mvn -Pnative -Dagent=test test
Extra
- I had tried on MacOS/arm64 and Linux/amd64, all produce the issue.