Closed Rishabhraghwendra18 closed 3 months ago
@Rishabhraghwendra18 I have replied already here.
@eddumelendez it's not the proper reply and the issue still exists. Never thought this community would have such kind of bad support. If the issue needs a working project to reproduce the issue then it should be mentioned in the issues template when creating the issue. I referenced other issues, and they have shared code snippets that's why I have shared it. Never thought this community support would be so bad and rude.
Hi, the reason why I pointed to the first reply is because the code snippet attached in the description still mention withPassword("1")
when it should be withPassword("")
. If there is no new information then I can not guess if the suggestion has been applied or not. Now, there is a confirmation about what I mentioned is not working then I can take a look at the project that have been shared. I'll be reopening the original one.
@eddumelendez it's still not working with withPassword("")
. You can see the update on my above-mentioned repo.
Hi @Rishabhraghwendra18, I reopened #8994 as mentioned in my previous comment. Let's keep the updates on that issue, please. I did try your project and did some changes, please check this comment.
Module
MySQL
Testcontainers version
1.19.8
Using the latest Testcontainers version?
No
Host OS
Linux
Host Arch
amd64
Docker version
What happened?
Testcontainers is getting stuck on waiting for MySQL connection. Below is my test case:
I am not getting why the MySQL test container is getting stuck on Waiting for connection (as you can see in the logs). I have followed the documentation but still not able to resolve this issue. I don't know where is the issue. Event the
@BeforeAll
annotation is not able to run.Here's my pom.xml:
application.properties file:
Relevant log output
Additional Information
Here is the code repo to duplicate the issue: https://github.com/Rishabhraghwendra18/spring-bazaar/tree/main/server
It's a spring boot application. The
InventoryRepositoryTest
class in thetest/java/com.springbazaar.server/repository
is facing the issue.NOTE: Add any random string to CLOUDINARY_URL, razorpay_key_secret and any random number to razorpay_key_id if needed.