-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
High CPU usage when JDBC driver not found #1378
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe this is a mistake, please reply to this comment to keep it open. If there isn't one already, a PR to fix or at least reproduce the problem in a test case will always help us get back on track to tackle this. |
The cause seems to be that Unreliables#retryUntilSuccess only expect an |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe this is a mistake, please reply to this comment to keep it open. If there isn't one already, a PR to fix or at least reproduce the problem in a test case will always help us get back on track to tackle this. |
This should be solved by #1434, so I shall close. |
Almost similar with #230, but In this case symptom is high CPU usage(smashing InspectContainerCmdExec).
Steps to reproduce
Symptom
testcontainers-java/modules/jdbc/src/main/java/org/testcontainers/containers/JdbcDatabaseContainer.java
Lines 125 to 146 in 2da17b9
If
createConnection()
raises Exception,isRunning()
is called in succession byretryUntilSuccess
.The text was updated successfully, but these errors were encountered: