Gunslingor
07/01/2020, 5:16 AMarjun
07/01/2020, 7:48 AMGunslingor
07/01/2020, 1:23 PMarjun
07/01/2020, 2:09 PMcom.mysql.cj.exceptions.CJCommunicationsException
is i guess cause test is not able to connect to DB. can u check if the DB details are passed properly to the test?
for running tests in pipeline, you can choose 2 approach.
1. have a test database and try to connect to it. u can clean up the DB, insert test data etc and clean up after test run. (easy but not advisable)
2. use test containers https://www.testcontainers.org/modules/databases/mysql/Gunslingor
07/01/2020, 2:12 PMarjun
07/01/2020, 2:17 PMGunslingor
07/01/2020, 3:43 PM