wearefrank / ladybug

Enable users of your application to debug and test it
Apache License 2.0
12 stars 8 forks source link

Ladybug doesn't wait for database connection #223

Closed philipsens closed 3 months ago

philipsens commented 4 months ago

When starting both a database management system and Frank! at the same time, the Ladybug will try to connect to the starting database, which isn't possible. This crashes the Frank!.

In Docker or in a testing environment, it is very common to start all programs at once.

The Frank!Framework had the same issue. Although it already did some waiting while the database was starting, we were also having some troubles with a couple of databases, like DB2. I made an issue for this: https://github.com/frankframework/frankframework/issues/5046 This might not be a complete solution for the problem with the ladybug, but I think it'll still be useful.

The Frank!Framework has some failed tests in the CI/CD. The logs can be found here:

jacodg commented 4 months ago

See https://github.com/frankframework/frankframework/pull/6474