linphone-40685558 / group3-coursework

Apache License 2.0
0 stars 0 forks source link

[Bug]: Encounter with communications link failure #161

Closed AungChan40685540 closed 1 week ago

AungChan40685540 commented 2 weeks ago

Contact Details

40685540@live.napier.ac.uk

What happened?

Whenever I run the package that inside the Lifecycle, it tell that "Failed to connect to database !!" Here is an error image Image 10-17-24 at 4 24 PM

Environment

Mac OS

JDK Version

JDK 17

Where are you seeing the problem on?

Console

Relevant log output

[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.napier.gp3.CountryDAOIntegrationTest
Connecting to database...
Failed to connect to database attempt 0
Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
Connecting to database...
Failed to connect to database attempt 1
Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
Connecting to database...
Failed to connect to database attempt 2
Communications link failure

Code of Conduct

AungChan40685540 commented 1 week ago

In this case, I have to run the database image first. Because whenever I package, the integration tests need database file to check the test. So running the database while processing the packaging in Maven