Closed andreasjordan closed 3 weeks ago
@wsmelton - If you have time, please have a look at the tests. Maybe you have additional suggestions.
good call, and what a ton of work! thank you very much 🙇🏼
Do you have any concerns about the changes that were made, @andreasjordan ? For example, did you have to change the substance of any tests to for them to work?
There was no need to change any test (see that the tests on the first commit all succeded).
I then added new tests and refactored the tests to have a better coverage. There are two new tests that are not active because they fail ('keeps the same database context' fails in context 'connection is properly made using a dot' and 'connection is properly made using a connection object'). We have not tested this before and it's more an edge case. I will try to find a way to get it to work later or change the documentation of the command.
excellent, thanks again! 💯
Hi,
Is this change available in the latest update or is it still pending merge? If already available, I can update and test.
Yes, it's included in the current version.
@andreasjordan - I updated dbatools to 2.1.18. Everything seems to be working fine now. Thank you for fixing this!
Thanks for the feedback.
Type of Change
.\tests\manual.pester.ps1
)Purpose
We need to prevent the cache to be used for DAC.
We need to close new connections if we do not return them.
Because of test refactoring, the diff of the tests is a bit hard to read - sorry for that.