3 ms·
First. Don't do this! Second. You've done this/someone else has done this and now you need to maintain it (we've all been there!). In this case my original pos
by gvjddbnvdrbv 6y ago
First. Don't do this!
Second. You've done this/someone else has done this and now you need to maintain it (we've all been there!). In this case my original post holds. Your test suite mocks the databases for unit tests anyway right? So write some test(s) checking that when the various databases are down appropriate responses are given by your service.